@corva/ui 0.106.0-9 → 0.106.0-rc.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 (180) hide show
  1. package/cjs-bundle/components/AddComment/Popover.js +1 -1
  2. package/cjs-bundle/components/AddComment/components/Content.js +1 -1
  3. package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
  4. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  5. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
  6. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  7. package/cjs-bundle/components/CollapsableSidebar.js +1 -1
  8. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  9. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  10. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  11. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  12. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
  13. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  14. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  15. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  16. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  17. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  18. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  19. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  20. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  21. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  22. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  23. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  24. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  25. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  26. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  27. package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
  28. package/cjs-bundle/components/FeedItem/components/FeedComments.js +1 -1
  29. package/cjs-bundle/components/ImageViewer/index.js +1 -1
  30. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
  31. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
  32. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  33. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  34. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
  35. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  36. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  37. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  38. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  39. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  40. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  41. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  42. package/cjs-bundle/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
  43. package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
  44. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
  45. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
  46. package/cjs-bundle/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
  47. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
  48. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  49. package/cjs-bundle/components/Popover/Popover.js +1 -1
  50. package/cjs-bundle/components/Popper/Popper.js +1 -1
  51. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  52. package/cjs-bundle/componentsV2/AppFooter/AppFooter.js +1 -1
  53. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
  54. package/cjs-bundle/componentsV2/AppHeader/AppAssets/AppAssets.js +1 -1
  55. package/cjs-bundle/componentsV2/FilesLoader/FilesLoader.js +1 -0
  56. package/cjs-bundle/componentsV2/FilesLoader/FilesLoader.scss.js +1 -0
  57. package/cjs-bundle/componentsV2/FilesLoader/utils.js +1 -0
  58. package/cjs-bundle/componentsV2/FilesProcessor/FilesProcessor.js +1 -0
  59. package/cjs-bundle/componentsV2/FilesProcessor/FilesProcessor.scss.js +1 -0
  60. package/cjs-bundle/componentsV2/FilesProcessor/Processor.js +1 -0
  61. package/cjs-bundle/componentsV2/LoaderLogo/LoaderLogo.js +1 -0
  62. package/cjs-bundle/componentsV2/LoaderLogo/LoaderLogo.scss.js +1 -0
  63. package/cjs-bundle/componentsV2/Paper/Paper.scss.js +1 -1
  64. package/cjs-bundle/componentsV2/TextMiddleTruncated/TextMiddleTruncated.js +1 -1
  65. package/cjs-bundle/componentsV2/index.js +1 -1
  66. package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  67. package/cjs-bundle/utils/goalsConfig/goalsConfig.js +1 -1
  68. package/components/AddComment/Popover.js +1 -1
  69. package/components/AddComment/components/Content.js +1 -1
  70. package/components/BICOffsetPickerDialog/index.js +1 -1
  71. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  72. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  73. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  74. package/components/CollapsableSidebar.js +1 -1
  75. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.d.ts +2 -1
  76. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.d.ts.map +1 -1
  77. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  78. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.stories.d.ts.map +1 -1
  79. package/components/DevCenter/DevCenterAppContainer/components/AppCommons/AppCommonsContext.d.ts +5 -0
  80. package/components/DevCenter/DevCenterAppContainer/components/AppCommons/AppCommonsContext.d.ts.map +1 -1
  81. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  82. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  83. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  84. package/components/DocumentViewer/DocumentViewer.js +1 -1
  85. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  86. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  87. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  88. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  89. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  90. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  91. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  92. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  93. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  94. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  95. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  96. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  97. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  98. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  99. package/components/FeedItem/FeedItem.js +1 -1
  100. package/components/FeedItem/components/FeedComments.js +1 -1
  101. package/components/FilesLoader/useStyles.d.ts +1 -1
  102. package/components/ImageViewer/index.js +1 -1
  103. package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
  104. package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
  105. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  106. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  107. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
  108. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  109. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  110. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  111. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  112. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  113. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  114. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  115. package/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
  116. package/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
  117. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
  118. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
  119. package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
  120. package/components/PadOffsetsPicker/StagesSelector.js +1 -1
  121. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  122. package/components/Popover/Popover.js +1 -1
  123. package/components/Popper/Popper.js +1 -1
  124. package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  125. package/componentsV2/AppFooter/AppFooter.d.ts +6 -1
  126. package/componentsV2/AppFooter/AppFooter.d.ts.map +1 -1
  127. package/componentsV2/AppFooter/AppFooter.js +1 -1
  128. package/componentsV2/AppFooter/AppFooter.stories.d.ts +1 -0
  129. package/componentsV2/AppFooter/AppFooter.stories.d.ts.map +1 -1
  130. package/componentsV2/AppFooter/DqPopover/DqPopover.d.ts +3 -1
  131. package/componentsV2/AppFooter/DqPopover/DqPopover.d.ts.map +1 -1
  132. package/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
  133. package/componentsV2/AppHeader/AppAssets/AppAssets.d.ts.map +1 -1
  134. package/componentsV2/AppHeader/AppAssets/AppAssets.js +1 -1
  135. package/componentsV2/AppHeader/AppHeader.stories.d.ts +1 -0
  136. package/componentsV2/AppHeader/AppHeader.stories.d.ts.map +1 -1
  137. package/componentsV2/FilesLoader/FilesLoader.d.ts +42 -0
  138. package/componentsV2/FilesLoader/FilesLoader.d.ts.map +1 -0
  139. package/componentsV2/FilesLoader/FilesLoader.js +1 -0
  140. package/componentsV2/FilesLoader/FilesLoader.scss.js +1 -0
  141. package/componentsV2/FilesLoader/FilesLoader.stories.d.ts +12 -0
  142. package/componentsV2/FilesLoader/FilesLoader.stories.d.ts.map +1 -0
  143. package/componentsV2/FilesLoader/index.d.ts +2 -0
  144. package/componentsV2/FilesLoader/index.d.ts.map +1 -0
  145. package/componentsV2/FilesLoader/utils.d.ts +2 -0
  146. package/componentsV2/FilesLoader/utils.d.ts.map +1 -0
  147. package/componentsV2/FilesLoader/utils.js +1 -0
  148. package/componentsV2/FilesProcessor/FilesProcessor.d.ts +71 -0
  149. package/componentsV2/FilesProcessor/FilesProcessor.d.ts.map +1 -0
  150. package/componentsV2/FilesProcessor/FilesProcessor.js +1 -0
  151. package/componentsV2/FilesProcessor/FilesProcessor.scss.js +1 -0
  152. package/componentsV2/FilesProcessor/FilesProcessor.stories.d.ts +10 -0
  153. package/componentsV2/FilesProcessor/FilesProcessor.stories.d.ts.map +1 -0
  154. package/componentsV2/FilesProcessor/Processor.d.ts +11 -0
  155. package/componentsV2/FilesProcessor/Processor.d.ts.map +1 -0
  156. package/componentsV2/FilesProcessor/Processor.js +1 -0
  157. package/componentsV2/FilesProcessor/index.d.ts +3 -0
  158. package/componentsV2/FilesProcessor/index.d.ts.map +1 -0
  159. package/componentsV2/FilesProcessor/types.d.ts +9 -0
  160. package/componentsV2/FilesProcessor/types.d.ts.map +1 -0
  161. package/componentsV2/LoaderLogo/LoaderLogo.d.ts +8 -0
  162. package/componentsV2/LoaderLogo/LoaderLogo.d.ts.map +1 -0
  163. package/componentsV2/LoaderLogo/LoaderLogo.js +1 -0
  164. package/componentsV2/LoaderLogo/LoaderLogo.scss.js +1 -0
  165. package/componentsV2/LoaderLogo/LoaderLogo.stories.d.ts +9 -0
  166. package/componentsV2/LoaderLogo/LoaderLogo.stories.d.ts.map +1 -0
  167. package/componentsV2/LoaderLogo/index.d.ts +2 -0
  168. package/componentsV2/LoaderLogo/index.d.ts.map +1 -0
  169. package/componentsV2/Paper/Paper.scss.js +1 -1
  170. package/componentsV2/TextMiddleTruncated/TextMiddleTruncated.d.ts.map +1 -1
  171. package/componentsV2/TextMiddleTruncated/TextMiddleTruncated.js +1 -1
  172. package/componentsV2/index.d.ts +3 -0
  173. package/componentsV2/index.d.ts.map +1 -1
  174. package/componentsV2/index.js +1 -1
  175. package/package.json +1 -1
  176. package/testing/AppTestWrapper/AppTestWrapper.d.ts +1 -1
  177. package/testing/AppTestWrapper/AppTestWrapper.d.ts.map +1 -1
  178. package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  179. package/utils/goalsConfig/goalsConfig.d.ts.map +1 -1
  180. package/utils/goalsConfig/goalsConfig.js +1 -1
@@ -0,0 +1,71 @@
1
+ import { FilesDropzoneProps } from '../FilesDropzone';
2
+ import { FilesProcessorFunction } from './types';
3
+ import { ProcessorProps } from './Processor';
4
+ type ValueItem = {
5
+ id: string | number;
6
+ name: string;
7
+ };
8
+ type FilesProcessorProps<T> = {
9
+ /**
10
+ * Function that processes file (uploads, parses, etc.)
11
+ *
12
+ * @param file - a file to upload
13
+ * @param onProgress - a function to be called to indicate progress. Accepts 2 arguments: total progress & current progress
14
+ * @param registerOnCancel - a function that registers processing cancellation handler
15
+ */
16
+ processFile: FilesProcessorFunction<T>;
17
+ /**
18
+ * Called when files are uploaded/reuploaded
19
+ *
20
+ * @param results array of results from `processFile`
21
+ */
22
+ onDone: (results: T[]) => void;
23
+ /**
24
+ * Files list to display
25
+ *
26
+ * `type ValueItem = {id: string | number; name: string;};`
27
+ */
28
+ value?: ValueItem[];
29
+ /**
30
+ * Used in conjunction with `value`. Called when user presses "delete" button. If undefined - no button is shown
31
+ * @param item
32
+ */
33
+ onDelete?: (item: ValueItem) => void;
34
+ /**
35
+ * Fired when file(s) selected for processing
36
+ */
37
+ onStartProcessing?: (files: File[]) => void;
38
+ /**
39
+ * Fired when file processing failed or cancelled
40
+ */
41
+ onProcessingFailure?: (file: File, isCancelled?: boolean, error?: Error) => void;
42
+ /**
43
+ * Controls if multiple files can be processed
44
+ */
45
+ multiple?: FilesDropzoneProps['multiple'];
46
+ /**
47
+ * Array of or comma-separated MIME types/File Extensions to accept
48
+ *
49
+ * See `FilesDropzone`'s props
50
+ */
51
+ accept?: FilesDropzoneProps['accept'];
52
+ /**
53
+ * Maximum files to accept
54
+ */
55
+ maxFiles?: FilesDropzoneProps['maxFiles'];
56
+ /**
57
+ * Maximum file size to accept
58
+ */
59
+ maxSize?: FilesDropzoneProps['maxSize'];
60
+ /**
61
+ * Allows custom progress units
62
+ * @param total total progress value
63
+ * @param current current progress value
64
+ */
65
+ formatProgress?: ProcessorProps<object>['formatProgress'];
66
+ className?: string;
67
+ testId?: string;
68
+ };
69
+ export declare const FilesProcessor: <T extends object>({ multiple, accept, className, processFile, value, onDone, onDelete, maxFiles, maxSize, formatProgress, onProcessingFailure, onStartProcessing, testId, }: FilesProcessorProps<T>) => JSX.Element;
70
+ export {};
71
+ //# sourceMappingURL=FilesProcessor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilesProcessor.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/FilesProcessor/FilesProcessor.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAGrE,OAAO,EAAE,sBAAsB,EAAkC,MAAM,SAAS,CAAC;AACjF,OAAO,EAAa,cAAc,EAAE,MAAM,aAAa,CAAC;AAIxD,KAAK,SAAS,GAAG;IACf,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AASF,KAAK,mBAAmB,CAAC,CAAC,IAAI;IAC5B;;;;;;OAMG;IACH,WAAW,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC;IAEvC;;;;OAIG;IACH,MAAM,EAAE,CAAC,OAAO,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IAE/B;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IAEpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAErC;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IAE5C;;OAEG;IACH,mBAAmB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,WAAW,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;IAEjF;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAE1C;;;;OAIG;IACH,MAAM,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IAEtC;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAE1C;;OAEG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;IAExC;;;;OAIG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC,gBAAgB,CAAC,CAAC;IAE1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,MAAM,6JAc5C,mBAAmB,CAAC,CAAC,CAAC,gBA0FxB,CAAC"}
@@ -0,0 +1 @@
1
+ import{__assign as e,__spreadArray as n}from'./../../ext-esm/tslib/tslib.es6.js';import{jsxs as r,jsx as t}from"react/jsx-runtime";import{useState as o,useEffect as i,useCallback as s}from"react";import c from"classnames";import{FilesDropzone as l}from"../FilesDropzone/FilesDropzone.js";import{FilesLoader as u}from"../FilesLoader/FilesLoader.js";import{Processor as a}from"./Processor.js";import f from"./FilesProcessor.scss.js";var m=function(m){var p=m.multiple,d=m.accept,v=m.className,g=m.processFile,F=m.value,h=void 0===F?[]:F,D=m.onDone,j=m.onDelete,x=m.maxFiles,P=m.maxSize,z=m.formatProgress,S=m.onProcessingFailure,N=m.onStartProcessing,b=m.testId,L=o([]),y=L[0],C=L[1];i((function(){y.length>0&&y.every((function(e){return"success"in e}))&&y.some((function(e){return e.success}))&&(C((function(e){return e.filter((function(e){return!e.success}))})),D(y.filter((function(e){var n=e.success,r=e.data;return!!n&&!!r})).map((function(e){return e.data}))))}),[y,D]);var I=s((function(e){C((function(n){return n.filter((function(n){return n.file!==e}))}))}),[]),_=s((function(n){n.success||null==S||S(n.file,n.cancelled,n.error),C((function(r){return r.map((function(r){return r.file===n.file?e(e({},r),{data:n.data,success:n.success,cancelled:n.cancelled}):r}))}))}),[S]),k=s((function(e){null==N||N(e);var r=e.map((function(e){return{file:e}}));C((function(e){return n(n([],e,!0),r,!0)}))}),[N]);return r("div",{className:c(f.root,v),"data-testid":b,children:[(p||0===y.length&&0===(null==h?void 0:h.length))&&t(l,{multiple:p,onDrop:k,accept:d,maxFiles:x,maxSize:P}),(y.length>0||(null==h?void 0:h.length)>0)&&r("div",{className:f.files,children:[y.map((function(e){return t(a,{processFile:g,onStatusChange:_,file:e.file,onDelete:I,formatProgress:z},"".concat(e.file.size,"|").concat(e.file.name))})),null==h?void 0:h.map((function(e,n){return t(u,{name:e.name,onDelete:j?function(){return j(e)}:void 0,complete:!0},n)}))]})]})};export{m as FilesProcessor};
@@ -0,0 +1 @@
1
+ import e from'./../../ext-esm/style-inject/dist/style-inject.es.js';var o={spacing:"8",root:"FilesProcessor_root__uHIL1",files:"FilesProcessor_files__1o-qw"};e(".FilesProcessor_root__uHIL1{display:flex;flex-direction:column;gap:24px}.FilesProcessor_files__1o-qw{display:flex;flex-direction:column;gap:16px}");export{o as default};
@@ -0,0 +1,10 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { ComponentProps } from 'react';
3
+ import { FilesProcessor } from './FilesProcessor';
4
+ type Props = ComponentProps<typeof FilesProcessor>;
5
+ declare const meta: Meta<Props>;
6
+ export default meta;
7
+ export declare const Default: (props: Props) => JSX.Element;
8
+ export declare const SingleFileProcessing: () => JSX.Element;
9
+ export declare const Indeterminate: () => JSX.Element;
10
+ //# sourceMappingURL=FilesProcessor.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilesProcessor.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/FilesProcessor/FilesProcessor.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAyB,MAAM,OAAO,CAAC;AAI9D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,cAAc,CAAC,CAAC;AAEnD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AA+BF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,UAAW,KAAK,gBA+CnC,CAAC;AAEF,eAAO,MAAM,oBAAoB,mBAkChC,CAAC;AAMF,eAAO,MAAM,aAAa,mBAqCzB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { FilesLoaderProps } from '../FilesLoader';
2
+ import { FilesProcessorFunction, FilesProcessorProcessingResult } from './types';
3
+ export type ProcessorProps<T> = {
4
+ processFile: FilesProcessorFunction<T>;
5
+ onStatusChange: (result: FilesProcessorProcessingResult<T>) => void;
6
+ file: File;
7
+ onDelete: (file: File) => void;
8
+ formatProgress?: FilesLoaderProps['formatProgress'];
9
+ };
10
+ export declare const Processor: <T extends object>(props: ProcessorProps<T>) => JSX.Element;
11
+ //# sourceMappingURL=Processor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Processor.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/FilesProcessor/Processor.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAe,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,EAAE,sBAAsB,EAAE,8BAA8B,EAAE,MAAM,SAAS,CAAC;AAEjF,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI;IAC9B,WAAW,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC;IACvC,cAAc,EAAE,CAAC,MAAM,EAAE,8BAA8B,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACpE,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAC/B,cAAc,CAAC,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;CACrD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,MAAM,SAAS,cAAc,CAAC,CAAC,CAAC,gBA+HnE,CAAC"}
@@ -0,0 +1 @@
1
+ import{__awaiter as e,__generator as t}from'./../../ext-esm/tslib/tslib.es6.js';import{jsx as n}from"react/jsx-runtime";import{useState as r,useCallback as o,useMemo as i,useEffect as c}from"react";import{FilesLoader as a}from"../FilesLoader/FilesLoader.js";var l=function(l){var u=l.onStatusChange,s=l.file,f=l.processFile,d=l.onDelete,m=l.formatProgress,v=r({total:0,current:0,indeterminate:!0,complete:!1}),p=v[0],g=v[1],h=r(),b=h[0],j=h[1],C=r(!1),F=C[0],w=C[1],x=r(),y=x[0],D=x[1],E=o((function(e,t){g({total:e,current:t,indeterminate:!1,complete:!1})}),[]),L=i((function(){if(y)return function(){y(),w(!0),u({success:!1,cancelled:!0,file:s})}}),[y,s,u]),P=o((function(){var n=!1;return function(r){return e(void 0,void 0,void 0,(function(){var e,o,i,c;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),e=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];n||E.apply(void 0,e)},[4,f(r,e,(function(e){D((function(){return function(){n=!0,e()}}))}))];case 1:return o=t.sent(),n?[2]:(g((function(e){var t=e.total;return{total:t,current:t,indeterminate:e.indeterminate,complete:!0}})),u({success:!0,cancelled:!1,data:o,file:r}),[3,3]);case 2:return i=t.sent(),n?[2]:(c=i instanceof Error?i:new Error(String(i)),j(c),u({success:!1,cancelled:!1,error:c,file:r}),[3,3]);case 3:return[2]}}))}))}}),[f,u,E]),S=o((function(){j(void 0),w(!1),u({file:s,success:!1,data:void 0,error:void 0,cancelled:!1}),P()(s)}),[s,P,u]),R=o((function(){d(s)}),[d,s]);c((function(){P()(s)}),[s,P]);var _=F?"Cancelled":null,k=b?null==b?void 0:b.message:_;return n(a,{name:s.name,total:p.total,current:p.current,error:k,onCancel:L,onReload:S,onDelete:R,formatProgress:m,complete:p.complete,indeterminate:p.indeterminate})};export{l as Processor};
@@ -0,0 +1,3 @@
1
+ export * from './FilesProcessor';
2
+ export type { FilesProcessorFunction } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/FilesProcessor/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,YAAY,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,9 @@
1
+ export type FilesProcessorProcessingResult<T> = {
2
+ success: boolean;
3
+ cancelled: boolean;
4
+ file: File;
5
+ data?: T;
6
+ error?: Error;
7
+ };
8
+ export type FilesProcessorFunction<T> = (file: File, onProgress: (totalProgress: number, currentProgress: number) => void, registerOnCancel: (onCancel: () => void) => void) => Promise<T> | T;
9
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/FilesProcessor/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,8BAA8B,CAAC,CAAC,IAAI;IAC9C,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAGF,MAAM,MAAM,sBAAsB,CAAC,CAAC,IAAI,CACtC,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,CAAC,aAAa,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,KAAK,IAAI,EACpE,gBAAgB,EAAE,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,KAC7C,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ export type LoaderLogoProps = {
2
+ size?: number;
3
+ inverted?: boolean;
4
+ className?: string;
5
+ testId?: string;
6
+ };
7
+ export declare const LoaderLogo: ({ testId, className, size, inverted }: LoaderLogoProps) => JSX.Element;
8
+ //# sourceMappingURL=LoaderLogo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoaderLogo.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/LoaderLogo/LoaderLogo.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,UAAU,0CAAgD,eAAe,gBAUrF,CAAC"}
@@ -0,0 +1 @@
1
+ import{jsx as e}from"react/jsx-runtime";import r from"classnames";import s from"./LoaderLogo.scss.js";var t=function(t){var a=t.testId,i=t.className,o=t.size,m=void 0===o?80:o,n=t.inverted;return e("div",{"data-testid":a,className:r(s.root,i),style:{"--size":"".concat(m,"px")},children:e("div",{className:r(s.inner,n&&s.inverted)})})};export{t as LoaderLogo};
@@ -0,0 +1 @@
1
+ import e from'./../../ext-esm/style-inject/dist/style-inject.es.js';var o={root:"LoaderLogo_root__lvpWZ",inner:"LoaderLogo_inner__w4gX4",inverted:"LoaderLogo_inverted__Z5G4V"};e(".LoaderLogo_root__lvpWZ{align-items:center;display:flex;justify-content:center}.LoaderLogo_inner__w4gX4{background-image:url(../../assets/corva-loading-icon.gif);background-position:50%;background-repeat:no-repeat;background-size:var(--size);height:var(--size);width:var(--size)}.LoaderLogo_inverted__Z5G4V{filter:invert(1)}");export{o as default};
@@ -0,0 +1,9 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { ComponentProps } from 'react';
3
+ import { LoaderLogo } from './LoaderLogo';
4
+ type Props = ComponentProps<typeof LoaderLogo>;
5
+ declare const meta: Meta<Props>;
6
+ export default meta;
7
+ export declare const Default: (props: Props) => JSX.Element;
8
+ export declare const Inverted: () => JSX.Element;
9
+ //# sourceMappingURL=LoaderLogo.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoaderLogo.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/LoaderLogo/LoaderLogo.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;AAE/C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAQF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,UAAW,KAAK,gBAA8B,CAAC;AAEnE,eAAO,MAAM,QAAQ,mBAIpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './LoaderLogo';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/LoaderLogo/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -1 +1 @@
1
- import t from'./../../ext-esm/style-inject/dist/style-inject.es.js';var o={spacing:"8",root:"Paper_root__BtJlH"};t(".Paper_root__BtJlH{--corvaui-background:var(--palette-background-b-9);background:var(--palette-background-b-9)!important;border-radius:8px!important;outline:none}");export{o as default};
1
+ import t from'./../../ext-esm/style-inject/dist/style-inject.es.js';var o={spacing:"8",root:"Paper_root__BtJlH"};t(".Paper_root__BtJlH{--corvaui-background:var(--palette-background-b-7);background:var(--palette-background-b-7)!important;border-radius:8px!important;outline:none}");export{o as default};
@@ -1 +1 @@
1
- {"version":3,"file":"TextMiddleTruncated.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/TextMiddleTruncated/TextMiddleTruncated.tsx"],"names":[],"mappings":"AAUA,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,mBAAmB,qDAK7B,wBAAwB,gBAmE1B,CAAC"}
1
+ {"version":3,"file":"TextMiddleTruncated.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/TextMiddleTruncated/TextMiddleTruncated.tsx"],"names":[],"mappings":"AAUA,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,mBAAmB,qDAK7B,wBAAwB,gBAoE1B,CAAC"}
@@ -1 +1 @@
1
- import{jsx as r,jsxs as e}from"react/jsx-runtime";import t from"classnames";import{useRef as n,useState as i,useLayoutEffect as o}from"react";import{debounce as c}from"lodash";import{Tooltip as l}from"../Tooltip/Tooltip.js";import s from"./TextMiddleTruncated.scss.js";import{truncateInTheMiddle as a}from"../../utils/formatting.js";var d=function(d){var u=d.children,m=d.testId,f=d.className,v=d.disableTooltip,h=String(u),p=n(null),b=n(null),T=n(null),j=i(h),x=j[0],N=j[1];return o((function(){var r=c((function(){var r;if(p.current&&b.current){var e=p.current.clientWidth,t=b.current,n=t.scrollWidth,i=t.textContent;if(e===(null===(r=T.current)||void 0===r?void 0:r.clientWidth))return;N(a(i,e,n))}}),200,{leading:!0}),e=new ResizeObserver(r),t=new MutationObserver(r);return p.current&&b.current&&(e.observe(p.current),e.observe(b.current),t.observe(b.current,{characterData:!0})),function(){e.disconnect(),t.disconnect()}}),[]),r(l,{title:h,disabled:v||x===h,children:e("div",{className:t(s.root,f),ref:p,"data-testid":m,children:[r("div",{className:s.inner,ref:T,children:x}),r("div",{className:s.hiddenElement,ref:b,children:h})]})})};export{d as TextMiddleTruncated};
1
+ import{jsx as r,jsxs as e}from"react/jsx-runtime";import t from"classnames";import{useRef as n,useState as i,useLayoutEffect as o}from"react";import{debounce as c}from"lodash";import{Tooltip as s}from"../Tooltip/Tooltip.js";import l from"./TextMiddleTruncated.scss.js";import{truncateInTheMiddle as a}from"../../utils/formatting.js";var d=function(d){var u=d.children,m=d.testId,f=d.className,v=d.disableTooltip,h=String(u),p=n(null),b=n(null),T=n(null),j=i(h),x=j[0],N=j[1];return o((function(){var r=c((function(){var r;if(p.current&&b.current){var e=p.current.clientWidth,t=b.current,n=t.scrollWidth,i=t.textContent;if(e===(null===(r=T.current)||void 0===r?void 0:r.clientWidth))return;N(a(i,e,n))}}),200,{leading:!0}),e=new ResizeObserver(r),t=new MutationObserver(r);return p.current&&b.current&&(e.observe(p.current),e.observe(b.current),t.observe(b.current,{subtree:!0,characterData:!0})),function(){e.disconnect(),t.disconnect()}}),[]),r(s,{title:h,disabled:v||x===h,children:e("div",{className:t(l.root,f),ref:p,"data-testid":m,children:[r("div",{className:l.inner,ref:T,children:x}),r("div",{className:l.hiddenElement,ref:b,children:h})]})})};export{d as TextMiddleTruncated};
@@ -27,11 +27,14 @@ export * from './Counter';
27
27
  export * from './BadgeCounter';
28
28
  export * from './BadgeDot';
29
29
  export * from './LoaderLinear';
30
+ export * from './LoaderLogo';
30
31
  export * from './Switch';
31
32
  export * from './Tabs';
32
33
  export * from './EmptyState';
33
34
  export * from './FileIcon';
34
35
  export * from './FilesDropzone';
36
+ export * from './FilesLoader';
37
+ export * from './FilesProcessor';
35
38
  export * from './Skeleton';
36
39
  export * from './CopyToClipboard';
37
40
  export * from './Stepper';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/componentsV2/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/componentsV2/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC"}
@@ -1 +1 @@
1
- export{Text}from"./Text/Text.js";export{Grid}from"./Grid/Grid.js";export{Cell}from"./Grid/Cell.js";export{Header}from"./Header/Header.js";export{Button}from"./Button/Button.js";export{ButtonIcon}from"./ButtonIcon/ButtonIcon.js";export{Tooltip}from"./Tooltip/Tooltip.js";export{Popover}from"./Popover/Popover.js";export{Radio}from"./Radio/Radio.js";export{RadioGroup}from"./RadioGroup/RadioGroup.js";export{Checkbox}from"./Checkbox/Checkbox.js";export{CheckboxGroup}from"./CheckboxGroup/CheckboxGroup.js";export{TextInput}from"./TextInput/TextInput.js";export{TextEndTruncated}from"./TextEndTruncated/TextEndTruncated.js";export{TextMiddleTruncated}from"./TextMiddleTruncated/TextMiddleTruncated.js";export{TextLink}from"./TextLink/TextLink.js";export{LoaderCircular}from"./LoaderCircular/LoaderCircular.js";export{Chip}from"./Chip/Chip.js";export{ChipAlert}from"./ChipAlert/ChipAlert.js";export{ChipIndicator}from"./ChipIndicator/ChipIndicator.js";export{Avatar}from"./Avatar/Avatar.js";export{AvatarGroup}from"./AvatarGroup/AvatarGroup.js";export{ToggleButtons}from"./ToggleButtons/ToggleButtons.js";export{Paper}from"./Paper/Paper.js";export{Modal}from"./Modal/Modal.js";export{Menu}from"./Menu/Menu.js";export{Counter}from"./Counter/Counter.js";export{BadgeCounter}from"./BadgeCounter/BadgeCounter.js";export{BadgeDot}from"./BadgeDot/BadgeDot.js";export{LoaderLinear}from"./LoaderLinear/LoaderLinear.js";export{Switch}from"./Switch/Switch.js";export{Tabs}from"./Tabs/Tabs.js";export{EmptyState}from"./EmptyState/EmptyState.js";export{FileIcon}from"./FileIcon/FileIcon.js";export{FilesDropzone}from"./FilesDropzone/FilesDropzone.js";export{Skeleton}from"./Skeleton/Skeleton.js";export{CopyToClipboard}from"./CopyToClipboard/CopyToClipboard.js";export{Stepper}from"./Stepper/Stepper.js";export{ButtonLive}from"./ButtonLive/ButtonLive.js";export{IndicatorLive}from"./IndicatorLive/IndicatorLive.js";export{Accordion}from"./Accordion/Accordion.js";export{Breadcrumbs}from"./Breadcrumbs/Breadcrumbs.js";export{BadgeComment}from"./BadgeComment/BadgeComment.js";export{AppContainer}from"./AppContainer/AppContainer.js";export{AppFooter}from"./AppFooter/AppFooter.js";export{AppHeader}from"./AppHeader/AppHeader.js";export{Popper}from"./Popper/Popper.js";
1
+ export{Text}from"./Text/Text.js";export{Grid}from"./Grid/Grid.js";export{Cell}from"./Grid/Cell.js";export{Header}from"./Header/Header.js";export{Button}from"./Button/Button.js";export{ButtonIcon}from"./ButtonIcon/ButtonIcon.js";export{Tooltip}from"./Tooltip/Tooltip.js";export{Popover}from"./Popover/Popover.js";export{Radio}from"./Radio/Radio.js";export{RadioGroup}from"./RadioGroup/RadioGroup.js";export{Checkbox}from"./Checkbox/Checkbox.js";export{CheckboxGroup}from"./CheckboxGroup/CheckboxGroup.js";export{TextInput}from"./TextInput/TextInput.js";export{TextEndTruncated}from"./TextEndTruncated/TextEndTruncated.js";export{TextMiddleTruncated}from"./TextMiddleTruncated/TextMiddleTruncated.js";export{TextLink}from"./TextLink/TextLink.js";export{LoaderCircular}from"./LoaderCircular/LoaderCircular.js";export{Chip}from"./Chip/Chip.js";export{ChipAlert}from"./ChipAlert/ChipAlert.js";export{ChipIndicator}from"./ChipIndicator/ChipIndicator.js";export{Avatar}from"./Avatar/Avatar.js";export{AvatarGroup}from"./AvatarGroup/AvatarGroup.js";export{ToggleButtons}from"./ToggleButtons/ToggleButtons.js";export{Paper}from"./Paper/Paper.js";export{Modal}from"./Modal/Modal.js";export{Menu}from"./Menu/Menu.js";export{Counter}from"./Counter/Counter.js";export{BadgeCounter}from"./BadgeCounter/BadgeCounter.js";export{BadgeDot}from"./BadgeDot/BadgeDot.js";export{LoaderLinear}from"./LoaderLinear/LoaderLinear.js";export{LoaderLogo}from"./LoaderLogo/LoaderLogo.js";export{Switch}from"./Switch/Switch.js";export{Tabs}from"./Tabs/Tabs.js";export{EmptyState}from"./EmptyState/EmptyState.js";export{FileIcon}from"./FileIcon/FileIcon.js";export{FilesDropzone}from"./FilesDropzone/FilesDropzone.js";export{FilesLoader}from"./FilesLoader/FilesLoader.js";export{FilesProcessor}from"./FilesProcessor/FilesProcessor.js";export{Skeleton}from"./Skeleton/Skeleton.js";export{CopyToClipboard}from"./CopyToClipboard/CopyToClipboard.js";export{Stepper}from"./Stepper/Stepper.js";export{ButtonLive}from"./ButtonLive/ButtonLive.js";export{IndicatorLive}from"./IndicatorLive/IndicatorLive.js";export{Accordion}from"./Accordion/Accordion.js";export{Breadcrumbs}from"./Breadcrumbs/Breadcrumbs.js";export{BadgeComment}from"./BadgeComment/BadgeComment.js";export{AppContainer}from"./AppContainer/AppContainer.js";export{AppFooter}from"./AppFooter/AppFooter.js";export{AppHeader}from"./AppHeader/AppHeader.js";export{Popper}from"./Popper/Popper.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corva/ui",
3
- "version": "0.106.0-9",
3
+ "version": "0.106.0-rc.0",
4
4
  "description": "Shared components/utils for Corva ui projects",
5
5
  "keywords": [
6
6
  "corva-ui"
@@ -4,5 +4,5 @@ export type AppTestWrapperProps = {
4
4
  children?: ReactNode;
5
5
  commentsEnabled?: boolean;
6
6
  } & AppCommonsContextType;
7
- export declare const AppTestWrapper: ({ children, commentsEnabled, app, appId, appSettings, onSettingChange, wells, well, rig, maximized, fracFleet, }: AppTestWrapperProps) => JSX.Element;
7
+ export declare const AppTestWrapper: ({ children, commentsEnabled, app, appId, appSettings, onSettingChange, wells, well, rig, maximized, fracFleet, dashboardMeta, }: AppTestWrapperProps) => JSX.Element;
8
8
  //# sourceMappingURL=AppTestWrapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppTestWrapper.d.ts","sourceRoot":"","sources":["../../../src/testing/AppTestWrapper/AppTestWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,EAAE,qBAAqB,EAAE,MAAM,0FAA0F,CAAC;AAGjI,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,GAAG,qBAAqB,CAAC;AAE1B,eAAO,MAAM,cAAc,qHAgBxB,mBAAmB,gBAgBrB,CAAC"}
1
+ {"version":3,"file":"AppTestWrapper.d.ts","sourceRoot":"","sources":["../../../src/testing/AppTestWrapper/AppTestWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,EAAE,qBAAqB,EAAE,MAAM,0FAA0F,CAAC;AAGjI,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,GAAG,qBAAqB,CAAC;AAE1B,eAAO,MAAM,cAAc,oIAiBxB,mBAAmB,gBAiBrB,CAAC"}
@@ -1 +1 @@
1
- import{jsx as o}from"react/jsx-runtime";import{AppCommonsProvider as s}from"../../components/DevCenter/DevCenterAppContainer/components/AppCommons/AppCommonsProvider.js";import{CommentsSwitchProvider as t}from"../../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchProvider.js";import"react";import"../../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../componentsV2/Text/Text.js";import"../../componentsV2/Grid/Grid.js";import"classnames";import"../../componentsV2/Grid/Grid.scss.js";import"../../componentsV2/Header/Header.scss.js";import"../../componentsV2/Button/Button.js";import"../../componentsV2/ButtonIcon/ButtonIcon.js";import"@material-ui/core";import"../../components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"uuid";import"../../componentsV2/Tooltip/Tooltip.scss.js";import"../../componentsV2/Paper/Paper.js";import"../../componentsV2/Popover/Popover.scss.js";import"../../componentsV2/Radio/Radio.js";import"../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../componentsV2/Checkbox/Checkbox.js";import"../../componentsV2/TextInput/TextInput.js";import"lodash";import"../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../componentsV2/TextLink/TextLink.js";import"../../componentsV2/Chip/Chip.js";import"../../componentsV2/ChipAlert/ChipAlert.js";import"../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../componentsV2/Avatar/Avatar.js";import"../../componentsV2/Avatar/constants.js";import"../../componentsV2/AvatarGroup/AvatarGroup.scss.js";import"@material-ui/lab";import"../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../componentsV2/Modal/Modal.scss.js";import"../../icons/WithCustomSize.js";import"../../icons/IconParkProvider.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/Gap.js";import"../../componentsV2/Menu/Menu.js";import"../../componentsV2/Counter/Counter.js";import"../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../componentsV2/Switch/Switch.js";import"../../componentsV2/Tabs/Tabs.js";import"../../componentsV2/EmptyState/EmptyState.scss.js";import"../../componentsV2/FileIcon/FileIcon.js";import"react-dropzone";import"../../utils/index.js";import"../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../componentsV2/Skeleton/Skeleton.scss.js";import"../../utils/main.js";import"../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../componentsV2/Stepper/Step/Step.scss.js";import"../../componentsV2/Stepper/Stepper.scss.js";import"../../componentsV2/ButtonLive/ButtonLive.js";import"../../componentsV2/LiveDotIndicator/LiveDotIndicator.scss.js";import"../../componentsV2/IndicatorLive/IndicatorLive.scss.js";import"../../componentsV2/Accordion/Accordion.scss.js";import"../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../componentsV2/BadgeComment/BadgeComment.js";import"../../componentsV2/AppContainer/AppContainer.js";import"../../componentsV2/AppFooter/AppFooter.js";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import"../../constants/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../utils/env.js";import"../../components/GradientManager/configuration/constants.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppCommons/AppCommonsContext.js";import"../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../components/DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../components/PadModeSelect/PadModeSelect.js";import"../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../constants/streamSourceType.js";import"../../componentsV2/AppHeader/AppHeader.scss.js";var n=function(n){var e=n.children,p=n.commentsEnabled,i=n.app,r=n.appId,c=n.appSettings,m=n.onSettingChange,a=n.wells,d=n.well,j=n.rig,l=n.maximized,u=n.fracFleet;return o(s,{app:i,appId:r,appSettings:c,onSettingChange:m,wells:a,well:d,rig:j,maximized:l,fracFleet:u,children:o(t,{initial:p,children:e})})};export{n as AppTestWrapper};
1
+ import{jsx as o}from"react/jsx-runtime";import{AppCommonsProvider as s}from"../../components/DevCenter/DevCenterAppContainer/components/AppCommons/AppCommonsProvider.js";import{CommentsSwitchProvider as t}from"../../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchProvider.js";import"react";import"../../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../componentsV2/Text/Text.js";import"../../componentsV2/Grid/Grid.js";import"classnames";import"../../componentsV2/Grid/Grid.scss.js";import"../../componentsV2/Header/Header.scss.js";import"../../componentsV2/Button/Button.js";import"../../componentsV2/ButtonIcon/ButtonIcon.js";import"@material-ui/core";import"../../components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"uuid";import"../../componentsV2/Tooltip/Tooltip.scss.js";import"../../componentsV2/Paper/Paper.js";import"../../componentsV2/Popover/Popover.scss.js";import"../../componentsV2/Radio/Radio.js";import"../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../componentsV2/Checkbox/Checkbox.js";import"../../componentsV2/TextInput/TextInput.js";import"lodash";import"../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../componentsV2/TextLink/TextLink.js";import"../../componentsV2/Chip/Chip.js";import"../../componentsV2/ChipAlert/ChipAlert.js";import"../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../componentsV2/Avatar/Avatar.js";import"../../componentsV2/Avatar/constants.js";import"../../componentsV2/AvatarGroup/AvatarGroup.scss.js";import"@material-ui/lab";import"../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../componentsV2/Modal/Modal.scss.js";import"../../icons/WithCustomSize.js";import"../../icons/IconParkProvider.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/Gap.js";import"../../componentsV2/Menu/Menu.js";import"../../componentsV2/Counter/Counter.js";import"../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../componentsV2/Switch/Switch.js";import"../../componentsV2/Tabs/Tabs.js";import"../../componentsV2/EmptyState/EmptyState.scss.js";import"../../componentsV2/FileIcon/FileIcon.js";import"react-dropzone";import"../../utils/index.js";import"../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../componentsV2/Skeleton/Skeleton.scss.js";import"../../utils/main.js";import"../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../componentsV2/Stepper/Step/Step.scss.js";import"../../componentsV2/Stepper/Stepper.scss.js";import"../../componentsV2/ButtonLive/ButtonLive.js";import"../../componentsV2/LiveDotIndicator/LiveDotIndicator.scss.js";import"../../componentsV2/IndicatorLive/IndicatorLive.scss.js";import"../../componentsV2/Accordion/Accordion.scss.js";import"../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../componentsV2/BadgeComment/BadgeComment.js";import"../../componentsV2/AppContainer/AppContainer.js";import"../../componentsV2/AppFooter/AppFooter.js";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import"../../constants/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../utils/env.js";import"../../components/GradientManager/configuration/constants.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppCommons/AppCommonsContext.js";import"../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../components/DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../components/PadModeSelect/PadModeSelect.js";import"../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../constants/streamSourceType.js";import"../../componentsV2/AppHeader/AppHeader.scss.js";var n=function(n){var e=n.children,p=n.commentsEnabled,i=n.app,r=n.appId,c=n.appSettings,m=n.onSettingChange,a=n.wells,d=n.well,j=n.rig,l=n.maximized,u=n.fracFleet,C=n.dashboardMeta;return o(s,{app:i,appId:r,appSettings:c,onSettingChange:m,wells:a,well:d,rig:j,maximized:l,fracFleet:u,dashboardMeta:void 0===C?{v3:!1,isMultiAsset:!1,isMultiWell:!1}:C,children:o(t,{initial:p,children:e})})};export{n as AppTestWrapper};
@@ -1 +1 @@
1
- {"version":3,"file":"goalsConfig.d.ts","sourceRoot":"","sources":["../../../src/utils/goalsConfig/goalsConfig.ts"],"names":[],"mappings":"AA4BA,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IAC7C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;IACnD,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;IACnD,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAy0BlD,CAAC"}
1
+ {"version":3,"file":"goalsConfig.d.ts","sourceRoot":"","sources":["../../../src/utils/goalsConfig/goalsConfig.ts"],"names":[],"mappings":"AA4BA,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IAC7C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;IACnD,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;IACnD,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAg1BlD,CAAC"}
@@ -1 +1 @@
1
- import{convertPercentageMetrics as e,convertPercentageToSave as i,convertCostToShow as t,convertCostToSave as n}from"../metrics/utils.js";import{getUnitDescription as _,getUnitPreference as l}from"../convert.js";var o={cumulative_tortuosity:{label:"Cumulative Tortuosity",key:"cumulative_tortuosity",isMetricGoal:!0},drilling_percentage:{label:"Drilling %",key:"drilling_percentage",convertToShow:e,convertToSave:i,unitType:"percent",unit:"%",isMetricGoal:!0},drilled_feet_rotary_percentage:{label:"Rotary %",key:"drilled_feet_rotary_percentage",convertToShow:e,convertToSave:i,unitType:"percent",unit:"%",isMetricGoal:!0},drilled_feet_slide_percentage:{label:"Slide %",key:"drilled_feet_slide_percentage",convertToShow:e,convertToSave:i,unitType:"percent",unit:"%",isMetricGoal:!0},feet_per_day:{label:"Drilled Distance/Day",key:"feet_per_day",unitType:"length",unit:"ft",formatUnitDisplay:function(e){return"".concat(e,"/day")},isMetricGoal:!0},on_bottom_percentage:{label:"On Bottom %",key:"on_bottom_percentage",convertToShow:e,convertToSave:i,unitType:"percent",unit:"%",isMetricGoal:!0},npt:{label:"NPT",key:"npt",unitType:"time",unit:"h",isMetricGoal:!0},pumps_on_to_bottom_average:{label:"Pumps on to Bottom",key:"pumps_on_to_bottom_average",unitType:"time",unit:"s",isMetricGoal:!0},spud_to_landing_point:{label:"Spud to Landing Point",key:"spud_to_landing_point",unitType:"time",unit:"h",isMetricGoal:!0},spud_to_rig_release_time:{label:"Spud to Rig Release",key:"spud_to_rig_release_time",unitType:"time",unit:"h",isMetricGoal:!0},spud_to_target:{label:"Spud to Target",key:"spud_to_target",unitType:"time",unit:"h",isMetricGoal:!0},spud_to_total_depth_time:{label:"Spud to Total Depth",key:"spud_to_total_depth_time",unitType:"time",unit:"h",isMetricGoal:!0},cost_per_ft:{label:"Cost/".concat(_(l("length")).singular),key:"cost_per_ft",convertToShow:t,convertToSave:n,isMetricGoal:!0},cost_per_lat_ft:{label:"Lateral Cost/".concat(_(l("length")).singular),key:"cost_per_lat_ft",convertToShow:t,convertToSave:n,isMetricGoal:!0},gross_tripping_in_speed_total:{label:"Gross Tripping In Speed",key:"gross_tripping_in_speed_total",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},gross_tripping_out_speed_total:{label:"Gross Tripping Out Speed",key:"gross_tripping_out_speed_total",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_in_connection_time:{label:"Tripping in (Connection)",key:"tripping_in_connection_time",unitType:"time",unit:"min",isMetricGoal:!0},tripping_in_running_time:{label:"Tripping in (Running)",key:"tripping_in_running_time",unitType:"time",unit:"min",isMetricGoal:!1},trip_gross_tripping_in_speed_cased:{label:"Cased Hole Tripping In Speed (With Connections)",key:"trip_gross_tripping_in_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},trip_gross_tripping_in_speed_open:{label:"Open Hole Tripping In Speed (With Connections)",key:"trip_gross_tripping_in_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},trip_tripping_in_time_cased:{label:"Cased Hole Tripping In Time",key:"trip_tripping_in_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},trip_tripping_in_time_open:{label:"Open Hole Tripping In Time",key:"trip_tripping_in_time_open",unitType:"time",unit:"min",isMetricGoal:!1},trip_gross_tripping_in_time_cased:{label:"Cased Hole Tripping In Time (With Connections)",key:"trip_gross_tripping_in_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},trip_gross_tripping_in_time_open:{label:"Open Hole Tripping In Time (With Connections)",key:"trip_gross_tripping_in_time_open",unitType:"time",unit:"min",isMetricGoal:!1},gross_tripping_out_speed_cased:{label:"Cased Hole Tripping Out Speed (With Connections)",key:"gross_tripping_out_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},gross_tripping_out_speed_open:{label:"Open Hole Tripping Out Speed (With Connections)",key:"gross_tripping_out_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},gross_tripping_out_time_cased:{label:"Cased Hole Tripping Out Time (With Connections)",key:"gross_tripping_out_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},gross_tripping_out_time_open:{label:"Open Hole Tripping Out Time (With Connections)",key:"gross_tripping_out_time_open",unitType:"time",unit:"min",isMetricGoal:!1},tripping_out_time_cased:{label:"Cased Hole Tripping Out Time",key:"tripping_out_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},tripping_out_time_open:{label:"Open Hole Tripping Out Time",key:"tripping_out_time_open",unitType:"time",unit:"min",isMetricGoal:!1},tripping_in_speed:{label:"Hole Tripping In Speed",key:"tripping_in_speed",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_in_speed_cased:{label:"Cased Hole Tripping In Speed",key:"tripping_in_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_in_speed_open:{label:"Open Hole Tripping In Speed",key:"tripping_in_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_out_connection_time:{label:"Tripping out (Connection)",key:"tripping_out_connection_time",unitType:"time",unit:"min",isMetricGoal:!0},tripping_out_running_time:{label:"Tripping out (Running)",key:"tripping_out_running_time",unitType:"time",unit:"min",isMetricGoal:!1},tripping_out_speed:{label:"Hole Tripping Out Speed",key:"tripping_out_speed",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_out_speed_cased:{label:"Cased Hole Tripping Out Speed",key:"tripping_out_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_out_speed_open:{label:"Open Hole Tripping Out Speed",key:"tripping_out_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},gross_tripping_in_speed_bha:{label:"Hole Tripping In Speed (With Connections)",key:"gross_tripping_in_speed_bha",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},gross_tripping_out_speed_bha:{label:"Hole Tripping Out Speed (With Connections)",key:"gross_tripping_out_speed_bha",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},gross_tripping_in_speed_cased:{label:"Cased Hole Tripping In Speed (With Connections)",key:"gross_tripping_in_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},gross_tripping_in_speed_open:{label:"Open Hole Tripping In Speed (With Connections)",key:"gross_tripping_in_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},gross_tripping_in_time_cased:{label:"Cased Hole Tripping In Time (With Connections)",key:"gross_tripping_in_time_cased",unitType:"time",unit:"min",isMetricGoal:!0},gross_tripping_in_time_open:{label:"Open Hole Tripping In Time (With Connections)",key:"gross_tripping_in_time_open",unitType:"time",unit:"min",isMetricGoal:!0},slips_to_slips_average:{label:"Casing Slips to Slips",key:"slips_to_slips_average",unitType:"time",unit:"s",isMetricGoal:!0},tripping_in_time_cased:{label:"Cased Hole Tripping In Time",key:"tripping_in_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},tripping_in_time_open:{label:"Open Hole Tripping In Time",key:"tripping_in_time_open",unitType:"time",unit:"min",isMetricGoal:!1},casing_tripping_in_speed_cased:{label:"Cased Hole Tripping In Speed",key:"casing_tripping_in_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},casing_tripping_in_speed_open:{label:"Open Hole Tripping In Speed",key:"casing_tripping_in_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},bottom_to_slips_average:{label:"Bottom to Slips Time",key:"bottom_to_slips_average",unitType:"time",unit:"s",isMetricGoal:!0},drilling_connection_average:{label:"Slips to Slips Time",key:"drilling_connection_average",unitType:"time",unit:"s",isMetricGoal:!0},slips_to_bottom_average:{label:"Slips to Bottom Time",key:"slips_to_bottom_average",unitType:"time",unit:"s",isMetricGoal:!0},weight_to_weight_average:{label:"Weight to Weight Time",key:"weight_to_weight_average",unitType:"time",unit:"s",isMetricGoal:!0},rop:{label:"On-Bottom ROP",key:"rop",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},rop_gross:{label:"Gross ROP",key:"rop_gross",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},rop_rotary:{label:"Rotary ROP",key:"rop_rotary",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},rop_slide:{label:"Slide ROP",key:"rop_slide",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},nu_nd_diverter_timelog_hal:{label:"NU/ND Diverter",key:"nu_nd_diverter_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_casing_handling_equip_timelog_hal:{label:"RU/RD Casing Handling Equip",key:"ru_rd_casing_handling_equip_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},bop_wellhead_xmt_nu_nd_timelog_hal:{label:"BOP/Wellhead/XMT NU/ND",key:"bop_wellhead_xmt_nu_nd_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},bop_pressure_function_test_timelog_hal:{label:"BOP Pressure & Function Test",key:"bop_pressure_function_test_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},install_retrieve_wear_bushing_timelog_hal:{label:"Install / Retrieve Wear Bushing",key:"install_retrieve_wear_bushing_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},p_u_l_d_bha_timelog_hal:{label:"P/U & L/D BHA",key:"p_u_l_d_bha_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},drillout_casing_shoe_track_timelog_hal:{label:"Drillout Casing Shoe Track",key:"drillout_casing_shoe_track_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},slip_cut_timelog_hal:{label:"Slip & Cut",key:"slip_cut_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},survey_time_timelog_hal:{label:"Survey Time",key:"survey_time_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},drill_fit_lot_timelog_hal:{label:"Drill & FIT/LOT",key:"drill_fit_lot_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},pressure_test_timelog_hal:{label:"Pressure Test",key:"pressure_test_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_mpd_system_or_rcd_timelog_hal:{label:"RU/RD MPD System or RCD",key:"ru_rd_mpd_system_or_rcd_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},achieve_frac_design_injection_rate_timelog_hal:{label:"Achieve Frac Design Injection Rate",key:"achieve_frac_design_injection_rate_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_frac_head_timelog_hal:{label:"RU/RD Frac Head",key:"ru_rd_frac_head_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_wireline_timelog_hal:{label:"RU/RD Wireline",key:"ru_rd_wireline_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_lubricator_perf_guns_timelog_hal:{label:"RU/RD Lubricator & Perf Guns",key:"ru_rd_lubricator_perf_guns_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},nu_nd_diverter_timelog_equinor:{label:"NU/ND Diverter",key:"nu_nd_diverter_timelog_equinor",unitType:"time",unit:"h",isMetricGoal:!0},ru_casing_handling_equipment_equinor:{label:"RU Casing Handling Equipment",key:"ru_casing_handling_equipment_equinor",unitType:"time",unit:"h",isMetricGoal:!0},rd_casing_handling_equipment_equinor:{label:"RD Casing Handling Equipment",key:"rd_casing_handling_equipment_equinor",unitType:"time",unit:"h",isMetricGoal:!0},bop_wellhead_xmt_nu_nd_equinor:{label:"BOP/Wellhead/XMT NU/ND",key:"bop_wellhead_xmt_nu_nd_equinor",unitType:"time",unit:"h",isMetricGoal:!0},bop_test_equinor:{label:"BOP Test",key:"bop_test_equinor",unitType:"time",unit:"h",isMetricGoal:!0},install_wear_bushing_equinor:{label:"Install Wear Bushing",key:"install_wear_bushing_equinor",unitType:"time",unit:"h",isMetricGoal:!0},retrieve_wear_bushing_equinor:{label:"Retrieve Wear Bushing",key:"retrieve_wear_bushing_equinor",unitType:"time",unit:"h",isMetricGoal:!0},mu_bha_equinor:{label:"M/U BHA",key:"mu_bha_equinor",unitType:"time",unit:"h",isMetricGoal:!0},ld_bha_equinor:{label:"L/D BHA",key:"ld_bha_equinor",unitType:"time",unit:"h",isMetricGoal:!0},drillout_casing_shoe_track_equinor:{label:"Drillout Casing Shoe Track",key:"drillout_casing_shoe_track_equinor",unitType:"time",unit:"h",isMetricGoal:!0},slip_cut_equinor:{label:"Slip & Cut",key:"slip_cut_equinor",unitType:"time",unit:"h",isMetricGoal:!0},survey_time_equinor:{label:"Survey Time",key:"survey_time_equinor",unitType:"time",unit:"h",isMetricGoal:!0},drill_fit_lot_equinor:{label:"Drill & FIT/LOT",key:"drill_fit_lot_equinor",unitType:"time",unit:"h",isMetricGoal:!0},pressure_test_casing_liner_equinor:{label:"Pressure Test Casing/Liner",key:"pressure_test_casing_liner_equinor",unitType:"time",unit:"h",isMetricGoal:!0},land_test_casing_hanger_equinor:{label:"Land & Test Casing/Tubing Hanger",key:"land_test_casing_hanger_equinor",unitType:"time",unit:"h",isMetricGoal:!0},mu_wireline_open_hole_equinor:{label:"M/U Wireline - Open Hole",key:"mu_wireline_open_hole_equinor",unitType:"time",unit:"h",isMetricGoal:!0},ld_wireline_open_hole_equinor:{label:"L/D Wireline - Open Hole",key:"ld_wireline_open_hole_equinor",unitType:"time",unit:"h",isMetricGoal:!0},mu_wireline_cased_hole_equinor:{label:"M/U Wireline - Cased Hole",key:"mu_wireline_cased_hole_equinor",unitType:"time",unit:"h",isMetricGoal:!0},ld_wireline_cased_hole_equinor:{label:"L/D Wireline - Cased Hole",key:"ld_wireline_cased_hole_equinor",unitType:"time",unit:"h",isMetricGoal:!0},mu_shoetrack_equinor:{label:"M/U Shoetrack",key:"mu_shoetrack_equinor",unitType:"time",unit:"h",isMetricGoal:!0},logging_time_ch_equinor:{label:"Logging Time CH",key:"logging_time_ch_equinor",unitType:"time",unit:"h",isMetricGoal:!0},logging_time_oh_equinor:{label:"Logging Time OH",key:"logging_time_oh_equinor",unitType:"time",unit:"h",isMetricGoal:!0},mu_hanger_equinor:{label:"M/U Hanger",key:"mu_hanger_equinor",unitType:"time",unit:"h",isMetricGoal:!0},cementing_time_equinor:{label:"Cementing Time",key:"cementing_time_equinor",unitType:"time",unit:"h",isMetricGoal:!0},prepare_for_cementing_equinor:{label:"Prepare for cementing",key:"prepare_for_cementing_equinor",unitType:"time",unit:"h",isMetricGoal:!0},run_landing_string_equinor:{label:"Run Landing String",key:"run_landing_string_equinor",unitType:"time",unit:"h",isMetricGoal:!0},pull_landing_string_equinor:{label:"Pull Landing String",key:"pull_landing_string_equinor",unitType:"time",unit:"h",isMetricGoal:!0},prep_to_pooh_equinor:{label:"Prep to POOH",key:"prep_to_pooh_equinor",unitType:"time",unit:"h",isMetricGoal:!0},nipple_up_bop_equinor:{label:"Nipple Up BOP",key:"nipple_up_bop_equinor",unitType:"time",unit:"h",isMetricGoal:!0},nipple_down_bop_equinor:{label:"Nipple Down BOP",key:"nipple_down_bop_equinor",unitType:"time",unit:"h",isMetricGoal:!0},mu_cement_stand_equinor:{label:"M/U Cement Stand",key:"mu_cement_stand_equinor",unitType:"time",unit:"h",isMetricGoal:!0},ld_cement_stand_equinor:{label:"L/D Cement Stand",key:"ld_cement_stand_equinor",unitType:"time",unit:"h",isMetricGoal:!0},mu_dhpg_equinor:{label:"M/U DHPG",key:"mu_dhpg_equinor",unitType:"time",unit:"h",isMetricGoal:!0},ld_dhpg_equinor:{label:"L/D DHPG",key:"ld_dhpg_equinor",unitType:"time",unit:"h",isMetricGoal:!0},mu_dhsv_equinor:{label:"M/U DHSV",key:"mu_dhsv_equinor",unitType:"time",unit:"h",isMetricGoal:!0},ld_dhsv_equinor:{label:"L/D DHSV",key:"ld_dhsv_equinor",unitType:"time",unit:"h",isMetricGoal:!0},mu_gaslift_equipment_equinor:{label:"M/U Gaslift Equipment",key:"mu_gaslift_equipment_equinor",unitType:"time",unit:"h",isMetricGoal:!0},ld_gaslift_equipment_equinor:{label:"L/D Gaslift Equipment",key:"ld_gaslift_equipment_equinor",unitType:"time",unit:"h",isMetricGoal:!0},tripping_in_connection_time_open_average:{label:"Open Hole Tripping In Connection Time",key:"tripping_in_connection_time_open_average",unitType:"time",unit:"s",isMetricGoal:!0},tripping_in_connection_time_cased_average:{label:"Cased Hole Tripping In Connection Time",key:"tripping_in_connection_time_cased_average",unitType:"time",unit:"s",isMetricGoal:!0},tripping_in_connection_average:{label:"Entire Hole Tripping In Connection Time",key:"tripping_in_connection_average",unitType:"time",unit:"s",isMetricGoal:!0},tripping_out_connection_time_open_average:{label:"Open Hole Tripping Out Connection Time",key:"tripping_out_connection_time_open_average",unitType:"time",unit:"s",isMetricGoal:!0},tripping_out_connection_time_cased_average:{label:"Cased Hole Tripping Out Connection Time",key:"tripping_out_connection_time_cased_average",unitType:"time",unit:"s",isMetricGoal:!0},tripping_out_connection_average:{label:"Entire Hole Tripping Out Connection Time",key:"tripping_out_connection_average",unitType:"time",unit:"s",isMetricGoal:!0}};export{o as GoalsConfig};
1
+ import{convertPercentageMetrics as e,convertPercentageToSave as i,convertCostToShow as t,convertCostToSave as n}from"../metrics/utils.js";import{getUnitDescription as _,getUnitPreference as l}from"../convert.js";var o={cumulative_tortuosity:{label:"Cumulative Tortuosity",key:"cumulative_tortuosity",isMetricGoal:!0},drilling_percentage:{label:"Drilling %",key:"drilling_percentage",convertToShow:e,convertToSave:i,unitType:"percent",unit:"%",isMetricGoal:!0},drilled_feet_rotary_percentage:{label:"Rotary %",key:"drilled_feet_rotary_percentage",convertToShow:e,convertToSave:i,unitType:"percent",unit:"%",isMetricGoal:!0},drilled_feet_slide_percentage:{label:"Slide %",key:"drilled_feet_slide_percentage",convertToShow:e,convertToSave:i,unitType:"percent",unit:"%",isMetricGoal:!0},feet_per_day:{label:"Drilled Distance/Day",key:"feet_per_day",unitType:"length",unit:"ft",formatUnitDisplay:function(e){return"".concat(e,"/day")},isMetricGoal:!0},on_bottom_percentage:{label:"On Bottom %",key:"on_bottom_percentage",convertToShow:e,convertToSave:i,unitType:"percent",unit:"%",isMetricGoal:!0},npt:{label:"NPT",key:"npt",unitType:"time",unit:"h",isMetricGoal:!0},pumps_on_to_bottom_average:{label:"Pumps on to Bottom",key:"pumps_on_to_bottom_average",unitType:"time",unit:"s",isMetricGoal:!0},spud_to_landing_point:{label:"Spud to Landing Point",key:"spud_to_landing_point",unitType:"time",unit:"h",isMetricGoal:!0},spud_to_rig_release_time:{label:"Spud to Rig Release",key:"spud_to_rig_release_time",unitType:"time",unit:"h",isMetricGoal:!0},spud_to_target:{label:"Spud to Target",key:"spud_to_target",unitType:"time",unit:"h",isMetricGoal:!0},spud_to_total_depth_time:{label:"Spud to Total Depth",key:"spud_to_total_depth_time",unitType:"time",unit:"h",isMetricGoal:!0},cost_per_ft:{label:"Cost/".concat(_(l("length")).singular),key:"cost_per_ft",convertToShow:t,convertToSave:n,isMetricGoal:!0},cost_per_lat_ft:{label:"Lateral Cost/".concat(_(l("length")).singular),key:"cost_per_lat_ft",convertToShow:t,convertToSave:n,isMetricGoal:!0},gross_tripping_in_speed_total:{label:"Gross Tripping In Speed",key:"gross_tripping_in_speed_total",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},gross_tripping_out_speed_total:{label:"Gross Tripping Out Speed",key:"gross_tripping_out_speed_total",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_in_connection_time:{label:"Tripping in (Connection)",key:"tripping_in_connection_time",unitType:"time",unit:"min",isMetricGoal:!0},tripping_in_running_time:{label:"Tripping in (Running)",key:"tripping_in_running_time",unitType:"time",unit:"min",isMetricGoal:!1},trip_tripping_in_time_cased:{label:"Cased Hole Tripping In Time",key:"trip_tripping_in_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},trip_tripping_in_time_open:{label:"Open Hole Tripping In Time",key:"trip_tripping_in_time_open",unitType:"time",unit:"min",isMetricGoal:!1},trip_gross_tripping_in_time_cased:{label:"Cased Hole Tripping In Time (With Connection)",key:"trip_gross_tripping_in_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},trip_gross_tripping_in_time_open:{label:"Open Hole Tripping In Time (With Connection)",key:"trip_gross_tripping_in_time_open",unitType:"time",unit:"min",isMetricGoal:!1},gross_tripping_out_time_cased:{label:"Cased Hole Tripping Out Time (With Connection)",key:"gross_tripping_out_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},gross_tripping_out_time_open:{label:"Open Hole Tripping Out Time (With Connection)",key:"gross_tripping_out_time_open",unitType:"time",unit:"min",isMetricGoal:!1},gross_tripping_in_speed_open_bha:{label:"Open Hole Tripping In Speed (With Connection)",key:"gross_tripping_in_speed_open_bha",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},gross_tripping_in_speed_cased_bha:{label:"Cased Hole Tripping In Speed (With Connection)",key:"gross_tripping_in_speed_cased_bha",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},gross_tripping_out_speed_open_bha:{label:"Open Hole Tripping Out Speed (With Connection)",key:"gross_tripping_out_speed_open_bha",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},gross_tripping_out_speed_cased_bha:{label:"Cased Hole Tripping Out Speed (With Connection)",key:"gross_tripping_out_speed_cased_bha",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},gross_tripping_in_speed:{label:"Casing - Entire Hole Tripping In Speed (With Connection)",key:"gross_tripping_in_speed",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},tripping_out_time_cased:{label:"Cased Hole Tripping Out Time",key:"tripping_out_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},tripping_out_time_open:{label:"Open Hole Tripping Out Time",key:"tripping_out_time_open",unitType:"time",unit:"min",isMetricGoal:!1},tripping_in_speed:{label:"Entire Hole Tripping In Speed",key:"tripping_in_speed",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_in_speed_cased:{label:"Cased Hole Tripping In Speed",key:"tripping_in_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_in_speed_open:{label:"Open Hole Tripping In Speed",key:"tripping_in_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_out_connection_time:{label:"Tripping out (Connection)",key:"tripping_out_connection_time",unitType:"time",unit:"min",isMetricGoal:!0},tripping_out_running_time:{label:"Tripping out (Running)",key:"tripping_out_running_time",unitType:"time",unit:"min",isMetricGoal:!1},tripping_out_speed:{label:"Entire Hole Tripping Out Speed",key:"tripping_out_speed",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_out_speed_cased:{label:"Cased Hole Tripping Out Speed",key:"tripping_out_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_out_speed_open:{label:"Open Hole Tripping Out Speed",key:"tripping_out_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},gross_tripping_in_speed_bha:{label:"Entire Hole Tripping In Speed (With Connection)",key:"gross_tripping_in_speed_bha",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},gross_tripping_out_speed_bha:{label:"Entire Hole Tripping Out Speed (With Connection)",key:"gross_tripping_out_speed_bha",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},gross_tripping_in_speed_cased:{label:"Casing - Cased Hole Tripping In Speed (With Connection)",key:"gross_tripping_in_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},gross_tripping_in_speed_open:{label:"Casing - Open Hole Tripping In Speed (With Connection)",key:"gross_tripping_in_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},gross_tripping_in_time_cased:{label:"Cased Hole Tripping In Time (With Connection)",key:"gross_tripping_in_time_cased",unitType:"time",unit:"min",isMetricGoal:!0},gross_tripping_in_time_open:{label:"Open Hole Tripping In Time (With Connection)",key:"gross_tripping_in_time_open",unitType:"time",unit:"min",isMetricGoal:!0},slips_to_slips_average:{label:"Casing Slips to Slips",key:"slips_to_slips_average",unitType:"time",unit:"s",isMetricGoal:!0},tripping_in_time_cased:{label:"Cased Hole Tripping In Time",key:"tripping_in_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},tripping_in_time_open:{label:"Open Hole Tripping In Time",key:"tripping_in_time_open",unitType:"time",unit:"min",isMetricGoal:!1},casing_tripping_in_speed_cased:{label:"Cased Hole Tripping In Speed",key:"casing_tripping_in_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},casing_tripping_in_speed_open:{label:"Open Hole Tripping In Speed",key:"casing_tripping_in_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},bottom_to_slips_average:{label:"Bottom to Slips Time",key:"bottom_to_slips_average",unitType:"time",unit:"s",isMetricGoal:!0},drilling_connection_average:{label:"Slips to Slips Time",key:"drilling_connection_average",unitType:"time",unit:"s",isMetricGoal:!0},slips_to_bottom_average:{label:"Slips to Bottom Time",key:"slips_to_bottom_average",unitType:"time",unit:"s",isMetricGoal:!0},weight_to_weight_average:{label:"Weight to Weight Time",key:"weight_to_weight_average",unitType:"time",unit:"s",isMetricGoal:!0},rop:{label:"On-Bottom ROP",key:"rop",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},rop_gross:{label:"Gross ROP",key:"rop_gross",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},rop_rotary:{label:"Rotary ROP",key:"rop_rotary",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},rop_slide:{label:"Slide ROP",key:"rop_slide",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},nu_nd_diverter_timelog_hal:{label:"NU/ND Diverter",key:"nu_nd_diverter_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_casing_handling_equip_timelog_hal:{label:"RU/RD Casing Handling Equip",key:"ru_rd_casing_handling_equip_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},bop_wellhead_xmt_nu_nd_timelog_hal:{label:"BOP/Wellhead/XMT NU/ND",key:"bop_wellhead_xmt_nu_nd_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},bop_pressure_function_test_timelog_hal:{label:"BOP Pressure & Function Test",key:"bop_pressure_function_test_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},install_retrieve_wear_bushing_timelog_hal:{label:"Install / Retrieve Wear Bushing",key:"install_retrieve_wear_bushing_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},p_u_l_d_bha_timelog_hal:{label:"P/U & L/D BHA",key:"p_u_l_d_bha_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},drillout_casing_shoe_track_timelog_hal:{label:"Drillout Casing Shoe Track",key:"drillout_casing_shoe_track_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},slip_cut_timelog_hal:{label:"Slip & Cut",key:"slip_cut_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},survey_time_timelog_hal:{label:"Survey Time",key:"survey_time_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},drill_fit_lot_timelog_hal:{label:"Drill & FIT/LOT",key:"drill_fit_lot_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},pressure_test_timelog_hal:{label:"Pressure Test",key:"pressure_test_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_mpd_system_or_rcd_timelog_hal:{label:"RU/RD MPD System or RCD",key:"ru_rd_mpd_system_or_rcd_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},achieve_frac_design_injection_rate_timelog_hal:{label:"Achieve Frac Design Injection Rate",key:"achieve_frac_design_injection_rate_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_frac_head_timelog_hal:{label:"RU/RD Frac Head",key:"ru_rd_frac_head_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_wireline_timelog_hal:{label:"RU/RD Wireline",key:"ru_rd_wireline_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_lubricator_perf_guns_timelog_hal:{label:"RU/RD Lubricator & Perf Guns",key:"ru_rd_lubricator_perf_guns_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},nu_nd_diverter_timelog_equinor:{label:"NU/ND Diverter",key:"nu_nd_diverter_timelog_equinor",unitType:"time",unit:"h",isMetricGoal:!0},ru_casing_handling_equipment_equinor:{label:"RU Casing Handling Equipment",key:"ru_casing_handling_equipment_equinor",unitType:"time",unit:"h",isMetricGoal:!0},rd_casing_handling_equipment_equinor:{label:"RD Casing Handling Equipment",key:"rd_casing_handling_equipment_equinor",unitType:"time",unit:"h",isMetricGoal:!0},bop_wellhead_xmt_nu_nd_equinor:{label:"BOP/Wellhead/XMT NU/ND",key:"bop_wellhead_xmt_nu_nd_equinor",unitType:"time",unit:"h",isMetricGoal:!0},bop_test_equinor:{label:"BOP Test",key:"bop_test_equinor",unitType:"time",unit:"h",isMetricGoal:!0},install_wear_bushing_equinor:{label:"Install Wear Bushing",key:"install_wear_bushing_equinor",unitType:"time",unit:"h",isMetricGoal:!0},retrieve_wear_bushing_equinor:{label:"Retrieve Wear Bushing",key:"retrieve_wear_bushing_equinor",unitType:"time",unit:"h",isMetricGoal:!0},mu_bha_equinor:{label:"M/U BHA",key:"mu_bha_equinor",unitType:"time",unit:"h",isMetricGoal:!0},ld_bha_equinor:{label:"L/D BHA",key:"ld_bha_equinor",unitType:"time",unit:"h",isMetricGoal:!0},drillout_casing_shoe_track_equinor:{label:"Drillout Casing Shoe Track",key:"drillout_casing_shoe_track_equinor",unitType:"time",unit:"h",isMetricGoal:!0},slip_cut_equinor:{label:"Slip & Cut",key:"slip_cut_equinor",unitType:"time",unit:"h",isMetricGoal:!0},survey_time_equinor:{label:"Survey Time",key:"survey_time_equinor",unitType:"time",unit:"h",isMetricGoal:!0},drill_fit_lot_equinor:{label:"Drill & FIT/LOT",key:"drill_fit_lot_equinor",unitType:"time",unit:"h",isMetricGoal:!0},pressure_test_casing_liner_equinor:{label:"Pressure Test Casing/Liner",key:"pressure_test_casing_liner_equinor",unitType:"time",unit:"h",isMetricGoal:!0},land_test_casing_hanger_equinor:{label:"Land & Test Casing/Tubing Hanger",key:"land_test_casing_hanger_equinor",unitType:"time",unit:"h",isMetricGoal:!0},mu_wireline_open_hole_equinor:{label:"M/U Wireline - Open Hole",key:"mu_wireline_open_hole_equinor",unitType:"time",unit:"h",isMetricGoal:!0},ld_wireline_open_hole_equinor:{label:"L/D Wireline - Open Hole",key:"ld_wireline_open_hole_equinor",unitType:"time",unit:"h",isMetricGoal:!0},mu_wireline_cased_hole_equinor:{label:"M/U Wireline - Cased Hole",key:"mu_wireline_cased_hole_equinor",unitType:"time",unit:"h",isMetricGoal:!0},ld_wireline_cased_hole_equinor:{label:"L/D Wireline - Cased Hole",key:"ld_wireline_cased_hole_equinor",unitType:"time",unit:"h",isMetricGoal:!0},mu_shoetrack_equinor:{label:"M/U Shoetrack",key:"mu_shoetrack_equinor",unitType:"time",unit:"h",isMetricGoal:!0},logging_time_ch_equinor:{label:"Logging Time CH",key:"logging_time_ch_equinor",unitType:"time",unit:"h",isMetricGoal:!0},logging_time_oh_equinor:{label:"Logging Time OH",key:"logging_time_oh_equinor",unitType:"time",unit:"h",isMetricGoal:!0},mu_hanger_equinor:{label:"M/U Hanger",key:"mu_hanger_equinor",unitType:"time",unit:"h",isMetricGoal:!0},cementing_time_equinor:{label:"Cementing Time",key:"cementing_time_equinor",unitType:"time",unit:"h",isMetricGoal:!0},prepare_for_cementing_equinor:{label:"Prepare for cementing",key:"prepare_for_cementing_equinor",unitType:"time",unit:"h",isMetricGoal:!0},run_landing_string_equinor:{label:"Run Landing String",key:"run_landing_string_equinor",unitType:"time",unit:"h",isMetricGoal:!0},pull_landing_string_equinor:{label:"Pull Landing String",key:"pull_landing_string_equinor",unitType:"time",unit:"h",isMetricGoal:!0},prep_to_pooh_equinor:{label:"Prep to POOH",key:"prep_to_pooh_equinor",unitType:"time",unit:"h",isMetricGoal:!0},nipple_up_bop_equinor:{label:"Nipple Up BOP",key:"nipple_up_bop_equinor",unitType:"time",unit:"h",isMetricGoal:!0},nipple_down_bop_equinor:{label:"Nipple Down BOP",key:"nipple_down_bop_equinor",unitType:"time",unit:"h",isMetricGoal:!0},mu_cement_stand_equinor:{label:"M/U Cement Stand",key:"mu_cement_stand_equinor",unitType:"time",unit:"h",isMetricGoal:!0},ld_cement_stand_equinor:{label:"L/D Cement Stand",key:"ld_cement_stand_equinor",unitType:"time",unit:"h",isMetricGoal:!0},mu_dhpg_equinor:{label:"M/U DHPG",key:"mu_dhpg_equinor",unitType:"time",unit:"h",isMetricGoal:!0},ld_dhpg_equinor:{label:"L/D DHPG",key:"ld_dhpg_equinor",unitType:"time",unit:"h",isMetricGoal:!0},mu_dhsv_equinor:{label:"M/U DHSV",key:"mu_dhsv_equinor",unitType:"time",unit:"h",isMetricGoal:!0},ld_dhsv_equinor:{label:"L/D DHSV",key:"ld_dhsv_equinor",unitType:"time",unit:"h",isMetricGoal:!0},mu_gaslift_equipment_equinor:{label:"M/U Gaslift Equipment",key:"mu_gaslift_equipment_equinor",unitType:"time",unit:"h",isMetricGoal:!0},ld_gaslift_equipment_equinor:{label:"L/D Gaslift Equipment",key:"ld_gaslift_equipment_equinor",unitType:"time",unit:"h",isMetricGoal:!0},tripping_in_connection_time_open_average:{label:"Open Hole Tripping In Connection Time",key:"tripping_in_connection_time_open_average",unitType:"time",unit:"s",isMetricGoal:!0},tripping_in_connection_time_cased_average:{label:"Cased Hole Tripping In Connection Time",key:"tripping_in_connection_time_cased_average",unitType:"time",unit:"s",isMetricGoal:!0},tripping_in_connection_average:{label:"Entire Hole Tripping In Connection Time",key:"tripping_in_connection_average",unitType:"time",unit:"s",isMetricGoal:!0},tripping_out_connection_time_open_average:{label:"Open Hole Tripping Out Connection Time",key:"tripping_out_connection_time_open_average",unitType:"time",unit:"s",isMetricGoal:!0},tripping_out_connection_time_cased_average:{label:"Cased Hole Tripping Out Connection Time",key:"tripping_out_connection_time_cased_average",unitType:"time",unit:"s",isMetricGoal:!0},tripping_out_connection_average:{label:"Entire Hole Tripping Out Connection Time",key:"tripping_out_connection_average",unitType:"time",unit:"s",isMetricGoal:!0}};export{o as GoalsConfig};