@corva/ui 3.9.0-9 → 3.9.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.
- package/cjs-bundle/components/AddComment/Popover.js +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/CollapsableSidebar.js +1 -1
- package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/utils.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/components/FeedComments.js +1 -1
- package/cjs-bundle/components/ImageViewer/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/OffsetWellPickerV4.module.css.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.module.css.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useAdvancedWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useFetchWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useFilterOptions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useFilteredWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useSortedWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useTableColumns.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/utils/apiCalls.js +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/cjs-bundle/components/Popover/Popover.js +1 -1
- package/cjs-bundle/components/Popper/Popper.js +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AppHeaderV3.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AppHeaderV3.scss.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/useResponsivity.js +1 -1
- package/cjs-bundle/componentsV2/Modal/Modal.js +1 -1
- package/cjs-bundle/componentsV2/Modal/Modal.scss.js +1 -1
- package/cjs-bundle/componentsV2/ModalWindow/ModalWindow.js +1 -0
- package/cjs-bundle/componentsV2/ModalWindow/ModalWindow.scss.js +1 -0
- package/cjs-bundle/componentsV2/index.js +1 -1
- package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
- package/cjs-bundle/types/shared/Completions.js +1 -1
- package/components/AddComment/Popover.js +1 -1
- package/components/AddComment/components/Content.js +1 -1
- package/components/BICOffsetPickerDialog/index.js +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/components/CollapsableSidebar.js +1 -1
- package/components/DevCenter/AppsDataProvider/effects/utils.d.ts.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/utils.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
- package/components/DocumentViewer/DocumentViewer.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/components/FeedItem/FeedItem.js +1 -1
- package/components/FeedItem/components/FeedComments.js +1 -1
- package/components/ImageViewer/index.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.module.css.js +1 -1
- package/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.module.css.js +1 -1
- package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
- package/components/OffsetWellPickerV4/effects/useAdvancedWells.d.ts +1 -1
- package/components/OffsetWellPickerV4/effects/useAdvancedWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/effects/useAdvancedWells.js +1 -1
- package/components/OffsetWellPickerV4/effects/useFetchWells.d.ts +2 -1
- package/components/OffsetWellPickerV4/effects/useFetchWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/effects/useFetchWells.js +1 -1
- package/components/OffsetWellPickerV4/effects/useFilterOptions.d.ts +5 -1
- package/components/OffsetWellPickerV4/effects/useFilterOptions.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/effects/useFilterOptions.js +1 -1
- package/components/OffsetWellPickerV4/effects/useFilteredWells.d.ts +97 -1
- package/components/OffsetWellPickerV4/effects/useFilteredWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/effects/useFilteredWells.js +1 -1
- package/components/OffsetWellPickerV4/effects/useSortedWells.d.ts +1 -1
- package/components/OffsetWellPickerV4/effects/useSortedWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/effects/useSortedWells.js +1 -1
- package/components/OffsetWellPickerV4/effects/useTableColumns.d.ts +1 -1
- package/components/OffsetWellPickerV4/effects/useTableColumns.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/effects/useTableColumns.js +1 -1
- package/components/OffsetWellPickerV4/utils/apiCalls.d.ts +9 -8
- package/components/OffsetWellPickerV4/utils/apiCalls.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/utils/apiCalls.js +1 -1
- package/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/components/Popover/Popover.js +1 -1
- package/components/Popper/Popper.js +1 -1
- package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
- package/componentsV2/AppHeader/AppHeader.d.ts +1 -0
- package/componentsV2/AppHeader/AppHeader.d.ts.map +1 -1
- package/componentsV2/AppHeader/V3/AppHeaderV3.d.ts +1 -1
- package/componentsV2/AppHeader/V3/AppHeaderV3.d.ts.map +1 -1
- package/componentsV2/AppHeader/V3/AppHeaderV3.js +1 -1
- package/componentsV2/AppHeader/V3/AppHeaderV3.scss.js +1 -1
- package/componentsV2/AppHeader/V3/AppHeaderV3.stories.d.ts.map +1 -1
- package/componentsV2/AppHeader/V3/useResponsivity.d.ts +1 -1
- package/componentsV2/AppHeader/V3/useResponsivity.d.ts.map +1 -1
- package/componentsV2/AppHeader/V3/useResponsivity.js +1 -1
- package/componentsV2/Modal/Modal.d.ts +2 -40
- package/componentsV2/Modal/Modal.d.ts.map +1 -1
- package/componentsV2/Modal/Modal.js +1 -1
- package/componentsV2/Modal/Modal.scss.js +1 -1
- package/componentsV2/ModalWindow/ModalWindow.d.ts +44 -0
- package/componentsV2/ModalWindow/ModalWindow.d.ts.map +1 -0
- package/componentsV2/ModalWindow/ModalWindow.js +1 -0
- package/componentsV2/ModalWindow/ModalWindow.scss.js +1 -0
- package/componentsV2/ModalWindow/ModalWindow.stories.d.ts +8 -0
- package/componentsV2/ModalWindow/ModalWindow.stories.d.ts.map +1 -0
- package/componentsV2/ModalWindow/index.d.ts +2 -0
- package/componentsV2/ModalWindow/index.d.ts.map +1 -0
- package/componentsV2/index.d.ts +1 -0
- package/componentsV2/index.d.ts.map +1 -1
- package/componentsV2/index.js +1 -1
- package/effects/index.d.ts +9 -9
- package/effects/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
- package/types/shared/Common.d.ts +1 -1
- package/types/shared/Common.d.ts.map +1 -1
- package/types/shared/Completions.d.ts +19 -0
- package/types/shared/Completions.d.ts.map +1 -1
- package/types/shared/Completions.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__assign as o,__rest as
|
|
1
|
+
import{__assign as o,__rest as e}from'./../../ext-esm/tslib/tslib.es6.js';import{jsx as n}from"react/jsx-runtime";import{Modal as r}from"@material-ui/core";import{useCallback as s}from"react";import{useDelayedDcFullscreenElemOpen as i}from"../../effects/useDelayedDcFullscreenElemOpen.js";import{useIsInsideDcFullscreenElem as t,IsInsideDcFullscreenElemProvider as c}from"../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import{useIsInsideIsolatedDcApp as l}from"../../components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import{ModalWindow as p}from"../ModalWindow/ModalWindow.js";import d from"./Modal.scss.js";var m=function(i){var t=i.open,c=i.onClose,l=i.size,m=void 0===l?"medium":l,a=i.showCloseButton,u=void 0===a||a,C=i.closeOnBackdropClick,f=void 0===C||C,v=i.closeOnEscape,D=void 0===v||v,k=e(i,["open","onClose","size","showCloseButton","closeOnBackdropClick","closeOnEscape"]),I=s((function(o,e){c&&("backdropClick"===e&&f&&c("backdropClick"),"escapeKeyDown"===e&&D&&c("escapeKey"))}),[c,f,D]),j=s((function(){null==c||c("closeButtonClick")}),[c]);return n(r,{open:t,className:d.root,onClose:I,children:n(p,o({},k,{onClose:j,showCloseButton:u,size:m}))})},a=function(r){var s=r.open,t=e(r,["open"]),l=i({isOpen:s}).delayedIsOpen;return n(c,{children:n(m,o({open:l},t))})},u=function(e){var r=l(),s=t();return n(r&&!s?a:m,o({},e))};export{u as Modal};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import o from'./../../ext-esm/style-inject/dist/style-inject.es.js';var
|
|
1
|
+
import o from'./../../ext-esm/style-inject/dist/style-inject.es.js';var t={spacing:"8",root:"Modal_root__kDYRH"};o(".Modal_root__kDYRH{display:flex;height:100%;overflow:auto;padding:16px;width:100%}");export{t as default};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ButtonProps } from '../Button';
|
|
3
|
+
export type ModalWindowProps = {
|
|
4
|
+
title?: ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* Component contents
|
|
7
|
+
*/
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
onClose?: () => void;
|
|
10
|
+
size?: 'small' | 'medium' | 'large' | 'fullscreen';
|
|
11
|
+
showCloseButton?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Contents of the primary button
|
|
14
|
+
*/
|
|
15
|
+
primaryActionText?: ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* Click handler for primary button
|
|
18
|
+
*/
|
|
19
|
+
primaryActionHandler?: ButtonProps['onClick'];
|
|
20
|
+
/**
|
|
21
|
+
* Additional props for primary button
|
|
22
|
+
*/
|
|
23
|
+
primaryActionProps?: Omit<ButtonProps, 'children' | 'onClick' | 'type' | 'size'>;
|
|
24
|
+
/**
|
|
25
|
+
* Contents of the secondary button
|
|
26
|
+
*/
|
|
27
|
+
secondaryActionText?: ReactNode;
|
|
28
|
+
/**
|
|
29
|
+
* Click handler for secondary button
|
|
30
|
+
*/
|
|
31
|
+
secondaryActionHandler?: ButtonProps['onClick'];
|
|
32
|
+
/**
|
|
33
|
+
* Additional props for secondary button
|
|
34
|
+
*/
|
|
35
|
+
secondaryActionProps?: Omit<ButtonProps, 'children' | 'onClick' | 'type' | 'size'>;
|
|
36
|
+
/**
|
|
37
|
+
* Additional actions to render in Modal's footer
|
|
38
|
+
*/
|
|
39
|
+
actions?: ReactNode;
|
|
40
|
+
className?: string;
|
|
41
|
+
testId?: string;
|
|
42
|
+
};
|
|
43
|
+
export declare const ModalWindow: ({ className, testId, onClose, size, children, primaryActionHandler, secondaryActionHandler, actions, primaryActionText, secondaryActionProps, secondaryActionText, primaryActionProps, showCloseButton, title, }: ModalWindowProps) => JSX.Element;
|
|
44
|
+
//# sourceMappingURL=ModalWindow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalWindow.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/ModalWindow/ModalWindow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,EAAU,WAAW,EAAE,MAAM,WAAW,CAAC;AAUhD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,YAAY,CAAC;IACnD,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC9B;;OAEG;IACH,oBAAoB,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,kBAAkB,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;IAEjF;;OAEG;IACH,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC;;OAEG;IACH,sBAAsB,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,oBAAoB,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;IAEnF;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AASF,eAAO,MAAM,WAAW,qNAerB,gBAAgB,gBAkDlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__assign as o}from'./../../ext-esm/tslib/tslib.es6.js';import{jsxs as s,jsx as c}from"react/jsx-runtime";import i from"classnames";import{Button as n}from"../Button/Button.js";import{Header as t}from"../Header/Header.js";import{Tooltip as r}from"../Tooltip/Tooltip.js";import{ButtonIcon as m}from"../ButtonIcon/ButtonIcon.js";import{Paper as e}from"../Paper/Paper.js";import l from"./ModalWindow.scss.js";import{CloseSmallIcon as p}from"../../icons/iconParkIcons.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/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";var a={large:l.large,fullscreen:l.fullscreen,medium:l.medium,small:l.small},u=function(u){var d=u.className,j=u.testId,I=u.onClose,h=u.size,C=void 0===h?"medium":h,f=u.children,A=u.primaryActionHandler,F=u.secondaryActionHandler,k=u.actions,v=u.primaryActionText,y=u.secondaryActionProps,x=u.secondaryActionText,P=u.primaryActionProps,b=u.showCloseButton,N=u.title;return s(e,{className:i(l.root,a[C],d),testId:j,children:[N&&s(t,{className:l.title,appearance:"H3",children:[N,b&&c(r,{title:"Close",children:c(m,{className:l.closeButton,onClick:I,children:c(p,{})})})]}),c("div",{className:l.content,children:c("div",{className:l.contentInner,children:f})}),(!!k||v||x)&&s("div",{className:l.actions,children:[k,x&&c(n,o({type:"secondary",size:"medium",onClick:F},y,{children:x})),v&&c(n,o({type:"primary",size:"medium",onClick:A},P,{children:v}))]})]})};export{u as ModalWindow};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from'./../../ext-esm/style-inject/dist/style-inject.es.js';var n={spacing:"8",root:"ModalWindow_root__WyIca",small:"ModalWindow_small__3KpFd",medium:"ModalWindow_medium__D6HJ5",large:"ModalWindow_large__HGzBN",fullscreen:"ModalWindow_fullscreen__92a0k",title:"ModalWindow_title__-FCHC",closeButton:"ModalWindow_closeButton__so2OO",content:"ModalWindow_content__fX8zG",contentInner:"ModalWindow_contentInner__hJWzU",actions:"ModalWindow_actions__DEgOG"};o('.ModalWindow_root__WyIca{display:flex;flex-flow:column nowrap;justify-items:stretch;margin:auto;max-height:calc(100% - 32px);padding:40px;width:100%}.ModalWindow_root__WyIca.ModalWindow_small__3KpFd{max-width:416px}.ModalWindow_root__WyIca.ModalWindow_medium__D6HJ5{max-width:552px}.ModalWindow_root__WyIca.ModalWindow_large__HGzBN{max-width:768px}.ModalWindow_root__WyIca.ModalWindow_fullscreen__92a0k{height:100%;max-width:1152px;width:80%}.ModalWindow_title__-FCHC{align-items:center;display:flex;flex-wrap:nowrap;opacity:1}.ModalWindow_closeButton__so2OO{margin-left:auto}.ModalWindow_content__fX8zG{display:flex;flex-flow:column nowrap;margin:0 -40px;overflow:hidden;position:relative}.ModalWindow_content__fX8zG:before{background:linear-gradient(180deg,rgb(from var(--corvaui-background) r g b/1) 0,rgb(from var(--corvaui-background) r g b/0) 100%);content:"";height:16px;inset:0 10px auto 0;position:absolute;z-index:1}.ModalWindow_content__fX8zG:after{background:linear-gradient(0deg,rgb(from var(--corvaui-background) r g b/1) 0,rgb(from var(--corvaui-background) r g b/0) 100%);content:"";height:16px;inset:auto 10px 0 0;position:absolute;z-index:1}.ModalWindow_contentInner__hJWzU{overflow:auto;padding:16px 40px}.ModalWindow_actions__DEgOG{display:flex;gap:16px;justify-content:flex-end;padding-top:16px}');export{n as default};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { ModalWindow } from './ModalWindow';
|
|
4
|
+
type Props = ComponentProps<typeof ModalWindow>;
|
|
5
|
+
declare const meta: Meta<Props>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: (props: Props) => JSX.Element;
|
|
8
|
+
//# sourceMappingURL=ModalWindow.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalWindow.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/ModalWindow/ModalWindow.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAEhD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AA2BF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,UAAW,KAAK,gBAA+B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/ModalWindow/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
package/componentsV2/index.d.ts
CHANGED
|
@@ -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,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;AAC3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B,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,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC"}
|
package/componentsV2/index.js
CHANGED
|
@@ -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{TextMiddleTruncatedTestIds}from"./TextMiddleTruncated/TextMiddleTruncated.constants.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{AppContainerTestIds}from"./AppContainer/AppContainer.constants.js";export{AppFooter}from"./AppFooter/AppFooter.js";export{AppHeader}from"./AppHeader/AppHeader.js";export{AppHeaderTestIds}from"./AppHeader/AppHeader.constants.js";export{OffsetWellsButton}from"./OffsetWellsButton/OffsetWellsButton.js";export{PadModeSelect}from"./PadModeSelect/PadModeSelect.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{TextMiddleTruncatedTestIds}from"./TextMiddleTruncated/TextMiddleTruncated.constants.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{ModalWindow}from"./ModalWindow/ModalWindow.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{AppContainerTestIds}from"./AppContainer/AppContainer.constants.js";export{AppFooter}from"./AppFooter/AppFooter.js";export{AppHeader}from"./AppHeader/AppHeader.js";export{AppHeaderTestIds}from"./AppHeader/AppHeader.constants.js";export{OffsetWellsButton}from"./OffsetWellsButton/OffsetWellsButton.js";export{PadModeSelect}from"./PadModeSelect/PadModeSelect.js";export{Popper}from"./Popper/Popper.js";
|
package/effects/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
import useDevCenterApp from './useDevCenterApp';
|
|
3
|
-
import useEscPress from './useEscPress';
|
|
4
|
-
import useIsAssetViewer from './useIsAssetViewer';
|
|
1
|
+
import useSubscriptions from './useSubscriptions';
|
|
5
2
|
import useOutsideClick from './useOutsideClick';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
3
|
+
import useEscPress from './useEscPress';
|
|
4
|
+
import useDevCenterApp from './useDevCenterApp';
|
|
8
5
|
import useSignedURL from './useSignedURL';
|
|
9
|
-
import
|
|
6
|
+
import useSharedDCStore from './useSharedDCStore';
|
|
7
|
+
import useResizeObserver from './useResizeObserver';
|
|
8
|
+
import useIsAssetViewer from './useIsAssetViewer';
|
|
10
9
|
import { useWellnessAlerts } from './useWellnessAlerts';
|
|
11
10
|
import useLoadedData from './useLoadedData';
|
|
12
11
|
import usePadSelectorSelectedWells from './usePadSelectorSelectedWells';
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
12
|
+
export { useAppCommentsMode, useSetAppCommentsMode, } from '../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext';
|
|
13
|
+
export { useAppCommons } from '../componentsV2/AppCommonsProvider';
|
|
14
|
+
export { useDevCenterApp, useEscPress, useIsAssetViewer, useOutsideClick, useResizeObserver, useSharedDCStore, useSignedURL, useSubscriptions, useWellnessAlerts, useLoadedData, usePadSelectorSelectedWells, };
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
package/effects/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/effects/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/effects/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;AAExE,OAAO,EACL,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,+FAA+F,CAAC;AACvG,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAEnE,OAAO,EACL,eAAe,EACf,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,2BAA2B,GAC5B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as o}from"react/jsx-runtime";import{AppCommonsProvider as s}from"../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../componentsV2/AppCommonsProvider/AppCommonsContext.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.constants.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"@icon-park/react/es/all";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/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.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/AppContainer/AppContainer.constants.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"../../componentsV2/AppHeader/AppHeader.constants.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/utils.js";import"../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../components/PadModeSelect/PadModeSelect.js";import"../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../constants/streamSourceType.js";import"../../types/shared/Completions.js";import"../../clients/jsonApi/index.js";import"../../components/PadModeSelect/types.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../clients/subscriptions.js";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"lodash/flatten";import"lodash/partition";import"../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js";import"../../componentsV2/PadModeSelect/WellStreamActivityStatus/WellStreamActivityStatus.scss.js";import"../../componentsV2/PadModeSelect/PadModeSelect.scss.js";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"jsona";import"../../components/StatusBadge/constants.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../components/AppIcon/AppIcon.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../componentsV2/AppSettings/AppSettings.js";import"../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../componentsV2/AppHeader/V3/SettingsPopover/SettingsPopover.scss.js";import"../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../componentsV2/AppHeader/AppHeader.scss.js";import"../../componentsV2/OffsetWellsButton/OffsetWellsButton.scss.js";var e=function(e){var n=e.children,p=e.commentsEnabled,i=e.app,r=e.appId,c=e.appSettings,m=e.onSettingChange,a=void 0===m?function(){}:m,d=e.onSettingsChange,l=void 0===d?function(){}:d,j=e.wells,u=e.well,A=e.rig,V=e.maximized,C=e.fracFleet,v=e.dashboardMeta;return o(s,{app:i||{},appId:r||-1,appSettings:c||{},onSettingChange:a||function(){},onSettingsChange:l,wells:j,well:u,rig:A,maximized:!!V,fracFleet:C,dashboardMeta:void 0===v?{v3:!1,isMultiAsset:!1,isMultiWell:!1}:v,setMaximized:function(){},children:o(t,{initial:p,children:n})})};export{e as AppTestWrapper};
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{AppCommonsProvider as s}from"../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../componentsV2/AppCommonsProvider/AppCommonsContext.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.constants.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/ModalWindow/ModalWindow.scss.js";import"@icon-park/react/es/all";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/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../componentsV2/Modal/Modal.scss.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/AppContainer/AppContainer.constants.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"../../componentsV2/AppHeader/AppHeader.constants.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/utils.js";import"../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../components/PadModeSelect/PadModeSelect.js";import"../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../constants/streamSourceType.js";import"../../types/shared/Completions.js";import"../../clients/jsonApi/index.js";import"../../components/PadModeSelect/types.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../clients/subscriptions.js";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"lodash/flatten";import"lodash/partition";import"../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js";import"../../componentsV2/PadModeSelect/WellStreamActivityStatus/WellStreamActivityStatus.scss.js";import"../../componentsV2/PadModeSelect/PadModeSelect.scss.js";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"jsona";import"../../components/StatusBadge/constants.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../components/AppIcon/AppIcon.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../componentsV2/AppSettings/AppSettings.js";import"../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../componentsV2/AppHeader/V3/SettingsPopover/SettingsPopover.scss.js";import"../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../componentsV2/AppHeader/AppHeader.scss.js";import"../../componentsV2/OffsetWellsButton/OffsetWellsButton.scss.js";var e=function(e){var n=e.children,p=e.commentsEnabled,i=e.app,r=e.appId,c=e.appSettings,m=e.onSettingChange,a=void 0===m?function(){}:m,d=e.onSettingsChange,l=void 0===d?function(){}:d,j=e.wells,u=e.well,A=e.rig,V=e.maximized,C=e.fracFleet,v=e.dashboardMeta;return o(s,{app:i||{},appId:r||-1,appSettings:c||{},onSettingChange:a||function(){},onSettingsChange:l,wells:j,well:u,rig:A,maximized:!!V,fracFleet:C,dashboardMeta:void 0===v?{v3:!1,isMultiAsset:!1,isMultiWell:!1}:v,setMaximized:function(){},children:o(t,{initial:p,children:n})})};export{e as AppTestWrapper};
|
package/types/shared/Common.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Common.d.ts","sourceRoot":"","sources":["../../../src/types/shared/Common.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG,GAAG;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE;QACT,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,OAAO,CAAC,EAAE;QACR,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;QAEjB,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,EAAE;YAET,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;gBAClC,IAAI,CAAC,EAAE,MAAM,CAAC;gBACd,GAAG,CAAC,EAAE,MAAM,CAAC;aACd,CAAC;SACH,CAAC;KACH,CAAC;
|
|
1
|
+
{"version":3,"file":"Common.d.ts","sourceRoot":"","sources":["../../../src/types/shared/Common.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG,GAAG;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE;QACT,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,OAAO,CAAC,EAAE;QACR,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;QAEjB,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,EAAE;YAET,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;gBAClC,IAAI,CAAC,EAAE,MAAM,CAAC;gBACd,GAAG,CAAC,EAAE,MAAM,CAAC;aACd,CAAC;SACH,CAAC;KACH,CAAC;IAEF,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;QAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,IAAI,CAAC,EAAE;YACL,GAAG,CAAC,EAAE,MAAM,CAAC;SACd,CAAC;KACH,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAGF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -9,6 +9,20 @@ export type AppStream = {
|
|
|
9
9
|
first_active_at: string;
|
|
10
10
|
};
|
|
11
11
|
export type Coordinates = [number, number];
|
|
12
|
+
export declare enum WellArchivationStatus {
|
|
13
|
+
Ready = "ready_for_archive",
|
|
14
|
+
NotReady = "not_ready_for_archive",
|
|
15
|
+
ArchivingRequested = "archiving_requested",
|
|
16
|
+
ArchivingInProgress = "archiving_in_progress",
|
|
17
|
+
Archived = "archiving_completed",
|
|
18
|
+
UnarchivingRequested = "unarchiving_requested",
|
|
19
|
+
UnarchivingInProgress = "unarchiving_in_progress",
|
|
20
|
+
Error = "archivation_error"
|
|
21
|
+
}
|
|
22
|
+
export declare enum WellArchivationAbilities {
|
|
23
|
+
Archive = "archive",
|
|
24
|
+
Unarchive = "unarchive"
|
|
25
|
+
}
|
|
12
26
|
export type Well = {
|
|
13
27
|
asset_id: number;
|
|
14
28
|
name: string;
|
|
@@ -26,6 +40,11 @@ export type Well = {
|
|
|
26
40
|
coordinates: Coordinates;
|
|
27
41
|
};
|
|
28
42
|
};
|
|
43
|
+
archivation?: {
|
|
44
|
+
status: WellArchivationStatus;
|
|
45
|
+
status_reasons?: string[];
|
|
46
|
+
abilities?: WellArchivationAbilities[];
|
|
47
|
+
};
|
|
29
48
|
};
|
|
30
49
|
export type FracFleetLine = {
|
|
31
50
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Completions.d.ts","sourceRoot":"","sources":["../../../src/types/shared/Completions.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAE3C,MAAM,MAAM,IAAI,GAAG;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MA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MAAM,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;CAC3C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var r,i,e;!function(r){r.Ready="ready_for_archive",r.NotReady="not_ready_for_archive",r.ArchivingRequested="archiving_requested",r.ArchivingInProgress="archiving_in_progress",r.Archived="archiving_completed",r.UnarchivingRequested="unarchiving_requested",r.UnarchivingInProgress="unarchiving_in_progress",r.Error="archivation_error"}(r||(r={})),function(r){r.Archive="archive",r.Unarchive="unarchive"}(i||(i={})),function(r){r.custom="custom",r.pad="pad",r.padLine="padLine"}(e||(e={}));export{e as PadMode,i as WellArchivationAbilities,r as WellArchivationStatus};
|