@corva/ui 3.67.0-8 → 3.67.0-9
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/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.module.css.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.module.css.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.module.css.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.module.css.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTablePagination.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/TableSection/TableSection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/usePickerStoreSelectors.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/createViewStore.js +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.module.css.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.d.ts +2 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapOverlayControls/MapOverlayControls.d.ts +5 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapOverlayControls/MapOverlayControls.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.d.ts +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.d.ts +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.types.d.ts +0 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.types.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.module.css.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.module.css.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.module.css.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTablePagination.d.ts +1 -3
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTablePagination.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTablePagination.js +1 -1
- package/components/OffsetWellPickerV5/components/TableSection/TableSection.d.ts +1 -2
- package/components/OffsetWellPickerV5/components/TableSection/TableSection.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/TableSection/TableSection.js +1 -1
- package/components/OffsetWellPickerV5/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/usePickerStoreSelectors.d.ts +0 -2
- package/components/OffsetWellPickerV5/hooks/usePickerStoreSelectors.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/usePickerStoreSelectors.js +1 -1
- package/components/OffsetWellPickerV5/stores/view-store/createViewStore.d.ts +0 -2
- package/components/OffsetWellPickerV5/stores/view-store/createViewStore.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/view-store/createViewStore.js +1 -1
- package/mcp-server/server.mjs +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";require('./../../../../../../ext-esm/style-inject/dist/style-inject.es.js')(".OffsetWellsTableHead-module_tableRow__pvA79{border-top:none!important;display:flex!important;flex-direction:row!important}.OffsetWellsTableHead-module_tableRow__pvA79>:last-child{border-top-right-radius:8px}.OffsetWellsTableHead-module_headCell__P3FWh{align-items:center!important;background-color:var(--palette-background-b-6);background-image:linear-gradient(hsla(0,0%,100%,.04),hsla(0,0%,100%,.04));border-bottom:1px solid
|
|
1
|
+
"use strict";require('./../../../../../../ext-esm/style-inject/dist/style-inject.es.js')(".OffsetWellsTableHead-module_tableRow__pvA79{border-top:none!important;display:flex!important;flex-direction:row!important}.OffsetWellsTableHead-module_tableRow__pvA79>:last-child{border-top-right-radius:8px}.OffsetWellsTableHead-module_headCell__P3FWh{align-items:center!important;background-color:var(--palette-background-b-6);background-image:linear-gradient(hsla(0,0%,100%,.04),hsla(0,0%,100%,.04));border-bottom:1px solid var(--palette-primary-text-9);display:flex!important;height:48px!important;padding:0 8px!important}.OffsetWellsTableHead-module_wellNameCell__LD-xB{align-items:center;border-top-left-radius:8px;display:flex!important;justify-content:space-between;left:0;padding-left:8px!important;padding-right:2px!important;position:sticky;z-index:9}@container (max-width: 400px){.OffsetWellsTableHead-module_wellNameCell__LD-xB{position:static;z-index:auto}}@container (max-width: 700px){.OffsetWellsTableHead-module_wellNameCell__LD-xB[data-expanded]{position:static;z-index:auto}}.OffsetWellsTableHead-module_wellNameCellMobile__MOB9j{position:static}.OffsetWellsTableHead-module_cellDataViewOnly__7FmxF{padding-left:12px!important}.OffsetWellsTableHead-module_nameWrapper__-Yp5U{align-items:center;display:flex;gap:8px}.OffsetWellsTableHead-module_headerLabel__l7kPM{color:var(--palette-primary-text-6)!important;display:flex!important;font-size:12px;font-weight:500;justify-content:flex-start!important;letter-spacing:0;line-height:16px;user-select:none;white-space:normal;width:100%}.OffsetWellsTableHead-module_headerLabel__l7kPM:hover{color:var(--palette-primary-text-1)!important}.OffsetWellsTableHead-module_wellNameExpandIcon__3B1DG{color:var(--palette-primary-text-6)!important;cursor:pointer;font-size:10px!important;height:32px!important;padding:6px;transform:rotate(180deg);width:32px!important}.OffsetWellsTableHead-module_wellNameExpandIcon__3B1DG:hover{color:var(--palette-primary-text-1)!important}.OffsetWellsTableHead-module_hiddenExpandIcon__cu-Mt{display:none!important}.OffsetWellsTableHead-module_wellNameCollapsed__-ZRB3{transform:rotate(0deg)}.OffsetWellsTableHead-module_settingsHeader__NxJoq{align-items:center;display:flex;flex:1;justify-content:space-between}.OffsetWellsTableHead-module_popperContent__37p-m{display:flex;flex-direction:column;font-size:18px!important;gap:8px;line-height:24px!important}.OffsetWellsTableHead-module_popperButtonWrapper__vZ83g{display:flex;justify-content:flex-end}.OffsetWellsTableHead-module_popperButton__cgiZT{background:hsla(0,0%,100%,.24)!important;color:#fff!important;padding:4px!important;width:71px!important}.OffsetWellsTableHead-module_popperButton__cgiZT:hover{background:hsla(0,0%,100%,.08)!important}.OffsetWellsTableHead-module_statusPlaceholder__9YVMT{height:32px;width:32px}"),module.exports={tableRow:"OffsetWellsTableHead-module_tableRow__pvA79",headCell:"OffsetWellsTableHead-module_headCell__P3FWh",wellNameCell:"OffsetWellsTableHead-module_wellNameCell__LD-xB",wellNameCellMobile:"OffsetWellsTableHead-module_wellNameCellMobile__MOB9j",cellDataViewOnly:"OffsetWellsTableHead-module_cellDataViewOnly__7FmxF",nameWrapper:"OffsetWellsTableHead-module_nameWrapper__-Yp5U",headerLabel:"OffsetWellsTableHead-module_headerLabel__l7kPM",wellNameExpandIcon:"OffsetWellsTableHead-module_wellNameExpandIcon__3B1DG",hiddenExpandIcon:"OffsetWellsTableHead-module_hiddenExpandIcon__cu-Mt",wellNameCollapsed:"OffsetWellsTableHead-module_wellNameCollapsed__-ZRB3",settingsHeader:"OffsetWellsTableHead-module_settingsHeader__NxJoq",popperContent:"OffsetWellsTableHead-module_popperContent__37p-m",popperButtonWrapper:"OffsetWellsTableHead-module_popperButtonWrapper__vZ83g",popperButton:"OffsetWellsTableHead-module_popperButton__cgiZT",statusPlaceholder:"OffsetWellsTableHead-module_statusPlaceholder__9YVMT"};
|
|
2
2
|
//# sourceMappingURL=OffsetWellsTableHead.module.css.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";require('./../../../../../../ext-esm/style-inject/dist/style-inject.es.js')(".OffsetWellsTableRow-module_bodyRow__P-oFT{display:flex!important;flex-direction:row!important}.OffsetWellsTableRow-module_bodyRow__P-oFT:hover .OffsetWellsTableRow-module_bodyCell__gR5Md{background:var(--palette-background-b-7)}.OffsetWellsTableRow-module_subjectWellRow__Rs-W1{background-color:var(--palette-background-b-6)!important;background-image:linear-gradient(rgba(3,188,212,.04),rgba(3,188,212,.04))!important;border-bottom-color:var(--palette-primary-main)!important}.OffsetWellsTableRow-module_subjectWellMark__sFP2W{align-items:center;background:var(--palette-primary-main)!important;color:var(--palette-background-b-2)!important;display:flex;flex-shrink:0;height:16px;justify-content:center;line-height:11px;margin-right:10px;width:16px}.OffsetWellsTableRow-module_bodyCell__gR5Md{align-items:center!important;background:var(--palette-background-b-6);border-bottom:1px solid var(--palette-primary-text-9);display:flex!important;height:48px!important;line-height:20px;padding:0 8px!important}.OffsetWellsTableRow-module_bodyRow__P-oFT.OffsetWellsTableRow-module_dense__1NK-s .OffsetWellsTableRow-module_bodyCell__gR5Md{height:32px!important}.OffsetWellsTableRow-module_cellData__cdoI4{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--palette-primary-text-1);display:-webkit-box;font-size:14px;font-weight:400;line-height:20px;overflow:hidden;overflow-wrap:break-word;white-space:normal}[data-dense=true] .OffsetWellsTableRow-module_cellData__cdoI4{-webkit-line-clamp:1}.OffsetWellsTableRow-module_cellText__WyO4Z{color:var(--palette-primary-text-1);font-size:14px;font-weight:400;line-height:20px;overflow-wrap:break-word}.OffsetWellsTableRow-module_cellDataViewOnly__UoQ5h{padding-left:12px}.OffsetWellsTableRow-module_hoverCell__EWhjV{background:var(--palette-background-b-7)!important}.OffsetWellsTableRow-module_wellNameCell__nb0Ne{left:0;padding-left:8px!important;padding-right:2px!important;position:sticky;z-index:2}@container (max-width: 400px){.OffsetWellsTableRow-module_wellNameCell__nb0Ne{position:static;z-index:auto}}@container (max-width: 700px){.OffsetWellsTableRow-module_wellNameCell__nb0Ne[data-expanded]{position:static;z-index:auto}}.OffsetWellsTableRow-module_wellNameCellMobile__3rz7l{position:static}.OffsetWellsTableRow-module_lastCell__W0r5I{padding-right:8px!important}.OffsetWellsTableRow-module_subjectWellImage__WxTgG{height:16px;width:16px}.OffsetWellsTableRow-module_statusContainer__-ti-N{align-items:center;display:flex;height:32px;justify-content:center;width:32px}.OffsetWellsTableRow-module_status__MMjhu{border-radius:50%;cursor:default;height:8px;width:8px}.OffsetWellsTableRow-module_customTooltip__sCNDE{opacity:.9!important}.OffsetWellsTableRow-module_wellNameCursor__E8-rN{color:var(--palette-primary-text-1);cursor:default;white-space:normal;word-break:break-all}.OffsetWellsTableRow-module_wellNameTruncate__Fx9Vs{color:var(--palette-primary-text-1);cursor:default;flex:1;font-size:14px;font-weight:400;line-height:20px;max-height:40px;min-width:0;overflow:hidden}[data-dense=true] .OffsetWellsTableRow-module_wellNameCursor__E8-rN{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.OffsetWellsTableRow-module_checkboxTooltip__cGssS{margin-left:11px!important;margin-top:-1px!important}"),module.exports={bodyRow:"OffsetWellsTableRow-module_bodyRow__P-oFT",bodyCell:"OffsetWellsTableRow-module_bodyCell__gR5Md",subjectWellRow:"OffsetWellsTableRow-module_subjectWellRow__Rs-W1",subjectWellMark:"OffsetWellsTableRow-module_subjectWellMark__sFP2W",dense:"OffsetWellsTableRow-module_dense__1NK-s",cellData:"OffsetWellsTableRow-module_cellData__cdoI4",cellText:"OffsetWellsTableRow-module_cellText__WyO4Z",cellDataViewOnly:"OffsetWellsTableRow-module_cellDataViewOnly__UoQ5h",hoverCell:"OffsetWellsTableRow-module_hoverCell__EWhjV",wellNameCell:"OffsetWellsTableRow-module_wellNameCell__nb0Ne",wellNameCellMobile:"OffsetWellsTableRow-module_wellNameCellMobile__3rz7l",lastCell:"OffsetWellsTableRow-module_lastCell__W0r5I",subjectWellImage:"OffsetWellsTableRow-module_subjectWellImage__WxTgG",statusContainer:"OffsetWellsTableRow-module_statusContainer__-ti-N",status:"OffsetWellsTableRow-module_status__MMjhu",customTooltip:"OffsetWellsTableRow-module_customTooltip__sCNDE",wellNameCursor:"OffsetWellsTableRow-module_wellNameCursor__E8-rN",wellNameTruncate:"OffsetWellsTableRow-module_wellNameTruncate__Fx9Vs",checkboxTooltip:"OffsetWellsTableRow-module_checkboxTooltip__cGssS"};
|
|
1
|
+
"use strict";require('./../../../../../../ext-esm/style-inject/dist/style-inject.es.js')(".OffsetWellsTableRow-module_bodyRow__P-oFT{display:flex!important;flex-direction:row!important}.OffsetWellsTableRow-module_bodyRow__P-oFT:hover .OffsetWellsTableRow-module_bodyCell__gR5Md{background:var(--palette-background-b-7)}.OffsetWellsTableRow-module_subjectWellRow__Rs-W1{background-color:var(--palette-background-b-6)!important;background-image:linear-gradient(rgba(3,188,212,.04),rgba(3,188,212,.04))!important;border-bottom-color:var(--palette-primary-main)!important;border-top:1px solid var(--palette-primary-main)!important}.OffsetWellsTableRow-module_subjectWellMark__sFP2W{align-items:center;background:var(--palette-primary-main)!important;color:var(--palette-background-b-2)!important;display:flex;flex-shrink:0;height:16px;justify-content:center;line-height:11px;margin-left:2px;margin-right:10px;width:16px}.OffsetWellsTableRow-module_checkboxWrapper__qlBQD{align-items:center;display:flex;margin-right:8px}.OffsetWellsTableRow-module_bodyCell__gR5Md{align-items:center!important;background:var(--palette-background-b-6);border-bottom:1px solid var(--palette-primary-text-9);display:flex!important;height:48px!important;line-height:20px;padding:0 8px!important}.OffsetWellsTableRow-module_bodyRow__P-oFT.OffsetWellsTableRow-module_dense__1NK-s .OffsetWellsTableRow-module_bodyCell__gR5Md{height:32px!important}.OffsetWellsTableRow-module_cellData__cdoI4{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--palette-primary-text-1);display:-webkit-box;font-size:14px;font-weight:400;line-height:20px;overflow:hidden;overflow-wrap:break-word;white-space:normal}[data-dense=true] .OffsetWellsTableRow-module_cellData__cdoI4{-webkit-line-clamp:1}.OffsetWellsTableRow-module_cellText__WyO4Z{color:var(--palette-primary-text-1);font-size:14px;font-weight:400;line-height:20px;overflow-wrap:break-word}.OffsetWellsTableRow-module_cellDataViewOnly__UoQ5h{padding-left:12px}.OffsetWellsTableRow-module_hoverCell__EWhjV{background:var(--palette-background-b-7)!important}.OffsetWellsTableRow-module_wellNameCell__nb0Ne{left:0;padding-left:8px!important;padding-right:2px!important;position:sticky;z-index:2}@container (max-width: 400px){.OffsetWellsTableRow-module_wellNameCell__nb0Ne{position:static;z-index:auto}}@container (max-width: 700px){.OffsetWellsTableRow-module_wellNameCell__nb0Ne[data-expanded]{position:static;z-index:auto}}.OffsetWellsTableRow-module_wellNameCellMobile__3rz7l{position:static}.OffsetWellsTableRow-module_lastCell__W0r5I{padding-right:8px!important}.OffsetWellsTableRow-module_subjectWellImage__WxTgG{height:16px;width:16px}.OffsetWellsTableRow-module_statusContainer__-ti-N{align-items:center;display:flex;height:32px;justify-content:center;width:32px}.OffsetWellsTableRow-module_status__MMjhu{border-radius:50%;cursor:default;height:8px;width:8px}.OffsetWellsTableRow-module_customTooltip__sCNDE{opacity:.9!important}.OffsetWellsTableRow-module_wellNameCursor__E8-rN{color:var(--palette-primary-text-1);cursor:default;white-space:normal;word-break:break-all}.OffsetWellsTableRow-module_wellNameTruncate__Fx9Vs{color:var(--palette-primary-text-1);cursor:default;flex:1;font-size:14px;font-weight:400;line-height:20px;max-height:40px;min-width:0;overflow:hidden}[data-dense=true] .OffsetWellsTableRow-module_wellNameCursor__E8-rN{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.OffsetWellsTableRow-module_checkboxTooltip__cGssS{margin-left:11px!important;margin-top:-1px!important}"),module.exports={bodyRow:"OffsetWellsTableRow-module_bodyRow__P-oFT",bodyCell:"OffsetWellsTableRow-module_bodyCell__gR5Md",subjectWellRow:"OffsetWellsTableRow-module_subjectWellRow__Rs-W1",subjectWellMark:"OffsetWellsTableRow-module_subjectWellMark__sFP2W",checkboxWrapper:"OffsetWellsTableRow-module_checkboxWrapper__qlBQD",dense:"OffsetWellsTableRow-module_dense__1NK-s",cellData:"OffsetWellsTableRow-module_cellData__cdoI4",cellText:"OffsetWellsTableRow-module_cellText__WyO4Z",cellDataViewOnly:"OffsetWellsTableRow-module_cellDataViewOnly__UoQ5h",hoverCell:"OffsetWellsTableRow-module_hoverCell__EWhjV",wellNameCell:"OffsetWellsTableRow-module_wellNameCell__nb0Ne",wellNameCellMobile:"OffsetWellsTableRow-module_wellNameCellMobile__3rz7l",lastCell:"OffsetWellsTableRow-module_lastCell__W0r5I",subjectWellImage:"OffsetWellsTableRow-module_subjectWellImage__WxTgG",statusContainer:"OffsetWellsTableRow-module_statusContainer__-ti-N",status:"OffsetWellsTableRow-module_status__MMjhu",customTooltip:"OffsetWellsTableRow-module_customTooltip__sCNDE",wellNameCursor:"OffsetWellsTableRow-module_wellNameCursor__E8-rN",wellNameTruncate:"OffsetWellsTableRow-module_wellNameTruncate__Fx9Vs",checkboxTooltip:"OffsetWellsTableRow-module_checkboxTooltip__cGssS"};
|
|
2
2
|
//# sourceMappingURL=OffsetWellsTableRow.module.css.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/slicedToArray"),t=require("react"),r=require("../../../constants.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=l(e);exports.useTablePagination=function(e){var l=e.sortedWells,
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/slicedToArray"),t=require("react"),r=require("../../../constants.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=l(e);exports.useTablePagination=function(e){var l=e.sortedWells,u=e.subjectWell,s=e.isLimitedOffsetWells,i=e.isHScrollMoved,o=e.setIsHScrollMoved,c=e.isAdvancedSearchHidden,f=e.setIsAdvancedSearchHidden,a=t.useState(r.ROWS_PER_PAGE),d=n.default(a,2),h=d[0],H=d[1],R=t.useState([]),S=n.default(R,2),v=S[0],g=S[1],L=t.useRef(null),_=t.useRef(0),b=t.useRef(!1);t.useEffect((function(){if(l){var e=l.slice(0,h);g(e)}}),[l,h,u]),t.useLayoutEffect((function(){b.current||L.current&&_.current>0&&(L.current.scrollTop=_.current)}),[v]);var p=t.useMemo((function(){if(!l)return[!1,!1];var e=null==u?void 0:u.id,t=e?l.filter((function(t){return t.id!==e})):l,r=t.length,n=t.filter((function(e){return e.checked})).length,i=s&&n>0;return[n>0&&n<r&&!i,r>0&&n===r||i]}),[l,u,s]),E=n.default(p,2),O=E[0],A=E[1];return{tableWells:v,tableRowsCount:h,rightColumnRef:L,isAnimatingRef:b,indeterminate:O,isAllWellsSelected:A,handleScroll:function(e){var t=e.target;t&&(_.current=t.scrollTop,c&&(t.scrollLeft=0,f(!1)),t.scrollLeft<=r.H_SCROLL_THRESHOLD&&i&&o(!1),t.scrollLeft>r.H_SCROLL_THRESHOLD&&!i&&o(!0),t.scrollHeight!==t.offsetHeight&&Math.round(t.scrollTop+t.offsetHeight+2)>=t.scrollHeight&&l&&h<l.length&&H((function(e){return e+r.ROWS_PER_PAGE})))}}};
|
|
2
2
|
//# sourceMappingURL=useTablePagination.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),l=require("react/jsx-runtime"),s=require("react"),t=require("classnames"),i=require("@material-ui/core"),r=require("../../utils/getIsImperial.js"),n=require("../Filter/Filter.js");require("../Filter/components/MultiFilterSelect/MultiFilterSelect.js"),require("../Filter/components/SingleFilterSelect/SingleFilterSelect.js"),require("../Filter/components/StatusFilterSelect/StatusFilterSelect.js"),require("../Filter/components/PeriodFilterSelect/PeriodFilterSelect.js"),require("../Filter/components/WellSectionSelect/WellSectionSelect.js");var a=require("../OffsetWellsTable/OffsetWellsTable.js"),c=require("../OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js"),o=require("../OffsetWellsTable/AdvancedSearch/AdvancedSearch.js"),d=require("../OffsetWellsTable/OffsetWellsTable.module.css.js"),u=require("../../OffsetWellPickerV5.module.css.js");function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=f(e),W=f(t);exports.TableSection=function(e){var t=e.isMobile,f=e.isViewOnly,S=e.isFilterExpanded,b=e.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),l=require("react/jsx-runtime"),s=require("react"),t=require("classnames"),i=require("@material-ui/core"),r=require("../../utils/getIsImperial.js"),n=require("../Filter/Filter.js");require("../Filter/components/MultiFilterSelect/MultiFilterSelect.js"),require("../Filter/components/SingleFilterSelect/SingleFilterSelect.js"),require("../Filter/components/StatusFilterSelect/StatusFilterSelect.js"),require("../Filter/components/PeriodFilterSelect/PeriodFilterSelect.js"),require("../Filter/components/WellSectionSelect/WellSectionSelect.js");var a=require("../OffsetWellsTable/OffsetWellsTable.js"),c=require("../OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js"),o=require("../OffsetWellsTable/AdvancedSearch/AdvancedSearch.js"),d=require("../OffsetWellsTable/OffsetWellsTable.module.css.js"),u=require("../../OffsetWellPickerV5.module.css.js");function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=f(e),W=f(t);exports.TableSection=function(e){var t=e.isMobile,f=e.isViewOnly,S=e.isFilterExpanded,b=e.isHScrollMoved,h=e.isTableFullLoading,j=e.isLimitedOffsetWells,p=e.isWellSectionColumnVisible,O=e.isAllWellsSelected,g=e.indeterminate,v=e.subjectWellId,C=e.selectedWellIds,x=e.selectedWellSection,F=e.sortedWells,T=e.tableWells,I=e.tableRowsCount,q=e.wellSections,y=e.metricsKeys,A=e.setMetricsKeys,w=e.columnsWithDict,N=e.taScores,R=e.filterOptions,M=e.loadingWellIds,H=e.loadingAssetIds,k=e.filters,V=e.sortBy,D=e.setSortBy,L=e.sortDirection,K=e.setSortDirection,P=e.maxOffsetWellNumber,B=e.handleChangeOffsetWell,E=e.handleChangeAllOffsetWells,G=e.handleChangeWellSection,_=e.handleAddRemoveAssets,U=e.handleScroll,z=e.setActiveWellId,J=e.setIsAdvancedSearchHidden,Q=e.wellsMapRef,X=e.contentRef,Y=e.rightColumnRef,Z=e.containerRef,$=e.isAnimatingRef,ee=s.useMemo((function(){return r.getIsImperial()}),[]),le=s.useCallback((function(){J(!0)}),[J]),se=s.useCallback((function(e,l){A((function(s){return s.map((function(s){return s===e?l:s}))}))}),[A]),te=s.useCallback((function(e,l){D(e),K(l)}),[D,K]);return l.jsxs("div",{className:u.rightColumn,ref:Z,onScroll:U,children:[!t&&l.jsx(n.Filter,{isHidden:!S,filterOptions:R,wellSections:null!=q?q:[],selectedWellSection:x,onChangeExternalOffsets:G}),!f&&l.jsxs("div",{className:W.default(d.searchCellWrapper),children:[l.jsx("div",{className:d.searchCell,children:l.jsx(o.AdvancedSearch,{companyIds:null,subjectWellId:v,onChange:_,selectedWellIds:C,onHideAdvancedSearch:le,loadingAssetIds:H,filters:k,isLimitedOffsetWells:j})}),l.jsx("div",{className:u.topGradient})]}),l.jsx("div",{className:d.stickyTableWrapper,children:l.jsxs(i.Table,{"aria-label":"ows table head",innerRef:X,className:W.default(d.stickyTable,m.default({},d.shadowVisible,b)),children:[l.jsx(i.TableHead,{children:l.jsx(c.OffsetWellsTableHead,{columnsWithDict:w,metricsKeys:y,sortBy:V,sortDirection:L,indeterminate:g,isAllWellsSelected:O,onChangeSort:te,onUpdateMetricsKey:se,handleChangeAllOffsetWells:E,wellNameStyle:d.wellNameFixed,isImperial:ee,isTaColumnVisible:!!N.length,isWellSectionColumnVisible:p})}),f&&l.jsx("div",{className:u.topGradient})]})}),l.jsx(a.OffsetWellsTable,{isTableLoading:h,subjectWellId:v,columnsWithDict:w,wells:T,metricsKeys:y,handleChangeOffsetWell:B,isLastWell:null!=F&&F.length<=I,isLimitedOffsetWells:j,maxOffsetWellNumber:P,wellSections:q,setActiveWellId:z,onRowClick:function(e){var l;return null===(l=Q.current)||void 0===l?void 0:l.flyToWell(e)},taScores:N,isWellSectionColumnVisible:p,loadingWellIds:M,scrollContainerRef:Y,isAnimatingRef:$})]})};
|
|
2
2
|
//# sourceMappingURL=TableSection.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../stores/picker-props-store/usePickerPropsStore.js"),r=require("../stores/filter-store/useFilterStore.js"),t=require("../stores/view-store/useViewStore.js");require("../stores/selection-tool-store/SelectionToolStoreContext.js"),require("../stores/selection-tool-store/SelectionToolStoreProvider.js"),require("zustand");var o=require("../stores/selection-tool-store/useSelectionToolStore.js");exports.usePickerStoreSelectors=function(){return{open:e.usePickerPropsStore((function(e){return e.open})),isWDUser:e.usePickerPropsStore((function(e){return e.isWDUser})),defaultSubjectWell:e.usePickerPropsStore((function(e){return e.defaultSubjectWell})),currentUser:e.usePickerPropsStore((function(e){return e.currentUser})),offsetSettings:e.usePickerPropsStore((function(e){return e.offsetSettings})),isViewOnly:e.usePickerPropsStore((function(e){return e.isViewOnly})),onClose:e.usePickerPropsStore((function(e){return e.onClose})),onSave:e.usePickerPropsStore((function(e){return e.onSave})),offsetSize:e.usePickerPropsStore((function(e){return e.maxOffsetSize})),localMaxOffsetSize:e.usePickerPropsStore((function(e){return e.localMaxOffsetSize})),syncAutoEnabled:e.usePickerPropsStore((function(e){return e.syncAutoEnabled})),isLoadAllWells:e.usePickerPropsStore((function(e){return e.isLoadAllWells})),resetIsLoadAllWells:e.usePickerPropsStore((function(e){return e.resetIsLoadAllWells})),shouldRecenter:e.usePickerPropsStore((function(e){return e.shouldRecenter})),setShouldRecenter:e.usePickerPropsStore((function(e){return e.setShouldRecenter})),isManualWellsEnabled:e.usePickerPropsStore((function(e){return e.isManualWellsEnabled})),isFilterExpanded:t.useViewStore((function(e){return e.isFilterExpanded})),isMapHidden:t.useViewStore((function(e){return e.isMapHidden})),isHScrollMoved:t.useViewStore((function(e){return e.isHScrollMoved})),setIsHScrollMoved:t.useViewStore((function(e){return e.setIsHScrollMoved})),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../stores/picker-props-store/usePickerPropsStore.js"),r=require("../stores/filter-store/useFilterStore.js"),t=require("../stores/view-store/useViewStore.js");require("../stores/selection-tool-store/SelectionToolStoreContext.js"),require("../stores/selection-tool-store/SelectionToolStoreProvider.js"),require("zustand");var o=require("../stores/selection-tool-store/useSelectionToolStore.js");exports.usePickerStoreSelectors=function(){return{open:e.usePickerPropsStore((function(e){return e.open})),isWDUser:e.usePickerPropsStore((function(e){return e.isWDUser})),defaultSubjectWell:e.usePickerPropsStore((function(e){return e.defaultSubjectWell})),currentUser:e.usePickerPropsStore((function(e){return e.currentUser})),offsetSettings:e.usePickerPropsStore((function(e){return e.offsetSettings})),isViewOnly:e.usePickerPropsStore((function(e){return e.isViewOnly})),onClose:e.usePickerPropsStore((function(e){return e.onClose})),onSave:e.usePickerPropsStore((function(e){return e.onSave})),offsetSize:e.usePickerPropsStore((function(e){return e.maxOffsetSize})),localMaxOffsetSize:e.usePickerPropsStore((function(e){return e.localMaxOffsetSize})),syncAutoEnabled:e.usePickerPropsStore((function(e){return e.syncAutoEnabled})),isLoadAllWells:e.usePickerPropsStore((function(e){return e.isLoadAllWells})),resetIsLoadAllWells:e.usePickerPropsStore((function(e){return e.resetIsLoadAllWells})),shouldRecenter:e.usePickerPropsStore((function(e){return e.shouldRecenter})),setShouldRecenter:e.usePickerPropsStore((function(e){return e.setShouldRecenter})),isManualWellsEnabled:e.usePickerPropsStore((function(e){return e.isManualWellsEnabled})),isFilterExpanded:t.useViewStore((function(e){return e.isFilterExpanded})),isMapHidden:t.useViewStore((function(e){return e.isMapHidden})),isHScrollMoved:t.useViewStore((function(e){return e.isHScrollMoved})),setIsHScrollMoved:t.useViewStore((function(e){return e.setIsHScrollMoved})),isAdvancedSearchHidden:t.useViewStore((function(e){return e.isAdvancedSearchHidden})),setIsAdvancedSearchHidden:t.useViewStore((function(e){return e.setIsAdvancedSearchHidden})),filters:r.useFilterStore((function(e){return e.filters})),lastFilterMutationSource:r.useFilterStore((function(e){return e.lastFilterMutationSource})),filterMutationSeq:r.useFilterStore((function(e){return e.filterMutationSeq})),setFilters:r.useFilterStore((function(e){return e.setFilters})),resetFilters:r.useFilterStore((function(e){return e.resetFilters})),resetSelectionTool:o.useSelectionToolStore((function(e){return e.reset}))}};
|
|
2
2
|
//# sourceMappingURL=usePickerStoreSelectors.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("zustand"),n=require("lodash"),d=require("../../constants.js");exports.createViewStore=function(i){return e.createStore()((function(e){var t,a,l,o,r,s;return{isFilterExpanded:null===(t=i.isFilterExpanded)||void 0===t||t,isMapHidden:null!==(a=i.isMapHidden)&&void 0!==a&&a,isWellNameExpand:null!==(l=i.isWellNameExpand)&&void 0!==l&&l,isHScrollMoved:!1,
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("zustand"),n=require("lodash"),d=require("../../constants.js");exports.createViewStore=function(i){return e.createStore()((function(e){var t,a,l,o,r,s;return{isFilterExpanded:null===(t=i.isFilterExpanded)||void 0===t||t,isMapHidden:null!==(a=i.isMapHidden)&&void 0!==a&&a,isWellNameExpand:null!==(l=i.isWellNameExpand)&&void 0!==l&&l,isHScrollMoved:!1,isAdvancedSearchHidden:!1,mapStyle:null!==(o=i.mapStyle)&&void 0!==o?o:"dark",dense:null!==(r=i.dense)&&void 0!==r&&r,mapWidth:n.clamp(null!==(s=i.mapWidth)&&void 0!==s?s:d.MapLayout.width.default,d.MapLayout.width.min,d.MapLayout.width.max),toggleFilterExpanded:function(){e((function(e){return{isFilterExpanded:!e.isFilterExpanded}}))},toggleMapHidden:function(){e((function(e){return{isMapHidden:!e.isMapHidden}}))},toggleWellNameExpand:function(){e((function(e){return{isWellNameExpand:!e.isWellNameExpand}}))},setIsHScrollMoved:function(n){e({isHScrollMoved:n})},setIsAdvancedSearchHidden:function(n){e({isAdvancedSearchHidden:n})},setMapStyle:function(n){e({mapStyle:n})},setDense:function(n){e({dense:n})},setMapWidth:function(n){e({mapWidth:n})}}}))};
|
|
2
2
|
//# sourceMappingURL=createViewStore.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OffsetWellPickerV5.d.ts","sourceRoot":"","sources":["../../../src/components/OffsetWellPickerV5/OffsetWellPickerV5.tsx"],"names":[],"mappings":"AAmCA,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"OffsetWellPickerV5.d.ts","sourceRoot":"","sources":["../../../src/components/OffsetWellPickerV5/OffsetWellPickerV5.tsx"],"names":[],"mappings":"AAmCA,eAAO,MAAM,kBAAkB,mBAqa9B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/slicedToArray";import{jsxs as s,Fragment as l,jsx as t}from"react/jsx-runtime";import{useState as o,useRef as i,useMemo as r,useCallback as n,useEffect as a}from"react";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"lodash";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../clients/jsonApi/index.js";import"../../clients/subscriptions/constants.js";import"../../clients/subscriptions.v1.js";import"../../clients/subscriptions/subscriptions-client.factory.js";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"../../clients/api/rateLimiter.js";import"./constants.js";import"./api/shared/dataFormatter.js";import"zustand";import"./stores/picker-props-store/PickerPropsStoreContext.js";import"@babel/runtime/helpers/objectWithoutProperties";import"./viewport/ViewportProvider.js";import{useViewType as d}from"./viewport/useViewType.js";import{usePickerPropsStore as c}from"./stores/picker-props-store/usePickerPropsStore.js";import{useIsAdmin as m}from"./hooks/useIsAdmin.js";import{useFilterOptions as u}from"./hooks/useFilterOptions.js";import{useFilteredWells as f}from"./hooks/useFilteredWells.js";import{useSortedWells as p}from"./hooks/useSortedWells.js";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"lodash/debounce";import"./stores/viewport-store/ViewportStoreContext.js";import"lz-string";import"@mapbox/tilebelt";import"./components/Map/OffsetWellMap/constants.js";import"./stores/filter-store/FilterStoreContext.js";import"lodash/isEqual";import"./stores/company-safeguard/CompanySafeguardContext.js";import"./stores/viewport-store/ViewportStoreProvider.js";import{useWellSelection as W}from"./hooks/use-well-selection/useWellSelection.js";import{useSaveReset as S}from"./hooks/use-save-reset/useSaveReset.js";import{useAutoSyncOffsetWells as h}from"./hooks/useAutoSyncOffsetWells.js";import{useFilterValidation as b}from"./hooks/useFilterValidation.js";import{useWellDataPipeline as j}from"./hooks/use-well-data-pipeline/useWellDataPipeline.js";import"./stores/idas-resync-store/IdasResyncStoreContext.js";import"./stores/idas-resync-store/IdasResyncStoreProvider.js";import{IdasResyncStatus as v}from"./stores/idas-resync-store/idas-resync.types.js";import{useIdasResyncStore as I}from"./stores/idas-resync-store/useIdasResyncStore.js";import"../../utils/index.js";import{useSyncFilterDataSources as y}from"./stores/filter-store/utils/useSyncFilterDataSources.js";import{useAllWells as C}from"./hooks/useAllWells/useAllWells.js";import{usePickerStoreSelectors as O}from"./hooks/usePickerStoreSelectors.js";import{useWellsToDisplay as A}from"./hooks/useWellsToDisplay.js";import{useLimitNotification as g}from"./hooks/useLimitNotification.js";import{useTableColumns as w}from"./components/OffsetWellsTable/hooks/useTableColumns.js";import{useTablePagination as M}from"./components/OffsetWellsTable/hooks/useTablePagination.js";import{useHScrollShadowReconcile as k}from"./components/OffsetWellsTable/hooks/useHScrollShadowReconcile.js";import{useAdvancedSearchHandler as x}from"./components/OffsetWellsTable/hooks/useAdvancedSearchHandler.js";import{useInitialBounds as R}from"./components/Map/OffsetWellMap/hooks/useInitialBounds.js";import{OffsetWellPickerContent as L}from"./components/OffsetWellPickerContent/OffsetWellPickerContent.js";import{isXtoIdasPicker as P}from"./utils/isXtoIdasPicker.js";var H=function(){return C(),null},V=function(){var C,V,E,F,T=d().isMobile,D=O(),Z=D.open,U=D.isWDUser,z=D.isManualWellsEnabled,B=D.defaultSubjectWell,K=D.currentUser,N=D.offsetSettings,X=D.isViewOnly,q=D.onClose,G=D.onSave,_=D.offsetSize,J=D.localMaxOffsetSize,Q=D.syncAutoEnabled,Y=D.isLoadAllWells,$=D.resetIsLoadAllWells,ee=D.shouldRecenter,se=D.setShouldRecenter,le=D.isFilterExpanded,te=D.isMapHidden,oe=D.isHScrollMoved,ie=D.setIsHScrollMoved,re=D.isVScrollMoved,ne=D.setIsVScrollMoved,ae=D.isAdvancedSearchHidden,de=D.setIsAdvancedSearchHidden,ce=D.filters,me=D.lastFilterMutationSource,ue=D.filterMutationSeq,fe=D.setFilters,pe=D.resetFilters,We=D.resetSelectionTool,Se=c((function(e){return e.segment})),he=o(null),be=e(he,2),je=be[0],ve=be[1],Ie=i(null),ye=o(!0),Ce=e(ye,2),Oe=Ce[0],Ae=Ce[1],ge=Math.min(_+1,J+1),we=Math.max(ge,J+1),Me=null!==(C=null==B?void 0:B.asset_id)&&void 0!==C?C:null,ke=+(null!==(V=null==B?void 0:B.companyId)&&void 0!==V?V:0)||+(null!==(E=null==K?void 0:K.company_id)&&void 0!==E?E:0),xe=null!=Me&&Me>0,Re=j({subjectWellId:Me,assetCompanyId:ke,offsetSettings:N,maxOffsetWellNumber:we,isLoadAllWells:Y,open:Z,onSave:G}),Le=Re.wells,Pe=Re.subjectWell,He=Re.subjectWellCoords,Ve=Re.rawWellsWithSubject,Ee=Re.wellSections,Fe=Re.externalOffsets,Te=Re.taScores,De=Re.idasWellIds,Ze=Re.owsWellIds,Ue=Re.wellhubWellIds,ze=Re.loadedAssetId,Be=Re.isWellSectionColumnVisible,Ke=Re.metricsKeys,Ne=Re.setMetricsKeys,Xe=Re.loadingWellIds,qe=Re.isAllWellsLoaded,Ge=Re.areRawWellsLoading,_e=Re.companies,Je=Re.canViewCompanies,Qe=Re.companyProvider,Ye=Re.pinnedWells,$e=Re.fetchSearchedWells,es=Re.resetSafeguard,ss=m()&&null!==(F=ce.showHiddenWells)&&void 0!==F&&F,ls=f(Le,ce,ss),ts=W({subjectWellId:null!=Me?Me:void 0,subjectWell:Pe,wells:Le,filteredWells:ls,externalOffsets:Fe,rawWellsWithSubject:Ve,offsetSettings:N,maxOffsetWellNumber:we,maxOffsetSize:ge,open:!!Z,isAllWellsLoaded:qe,fetchSearchedWells:$e,filters:ce,filterMutationSeq:ue,lastFilterMutationSource:me,includeHidden:ss}),os=ts.selectedWells,is=ts.setSelectedWells,rs=ts.selectedWellsCount,ns=ts.selectedWellIds,as=ts.currentSelectionZone,ds=ts.setCurrentSelectionZone,cs=ts.selectedWellSection,ms=ts.setSelectedWellSection,us=ts.loadingAssetIds,fs=ts.setLoadingAssetIds,ps=ts.searchGenerationRef,Ws=ts.markUserEdit,Ss=ts.abandonPendingSearch,hs=ts.handleChangeOffsetWell,bs=ts.handleChangeAllOffsetWells,js=ts.handleBatchSelectWells,vs=ts.handleSelectionZoneConfirm,Is=ts.handleChangeWellSection,ys=ts.updateSelectedWellsBySection,Cs=we<=(null==os?void 0:os.length);R({subjectWellCoords:He,hasSubjectWell:null!=Me,open:!!Z,ghostZone:as}),g(Z,Cs,we),y(null!=Le?Le:null,_e,Je,qe,Y,Se);var Os=u();b({open:Z,isAllWellsLoaded:qe,filters:ce,filterOptions:Os,isLoadAllWells:Y,setFilters:fe});var As=w(Ke,Je,Be,xe),gs=A(ls,os,Le,Fe,cs,ss),ws=p(Pe,gs,os,Ae,null==N?void 0:N.selectedWellIds),Ms=e(ws,5),ks=Ms[0],xs=Ms[1],Rs=Ms[2],Ls=Ms[3],Ps=Ms[4],Hs=x({filters:ce,wells:Le,maxOffsetWellNumber:we,includeHidden:ss,fetchSearchedWells:$e,setIsTableLoading:Ae,setSelectedWells:is,setLoadingAssetIds:fs,setCurrentSelectionZone:ds,markUserEdit:Ws,searchGenerationRef:ps}),Vs=P({isWDUser:U,isManualWellsEnabled:z,companyProvider:Qe}),Es=r((function(){return Vs?Te:[]}),[Vs,Te]);h({isAllWellsLoaded:qe,syncAutoEnabled:Q,isXtoIdas:Vs,offsetSettings:N,externalOffsets:Fe,subjectWellId:Me,maxOffsetWellNumber:we,localMaxOffsetSize:J,idasWellIds:De,owsWellIds:Ze,wellhubWellIds:Ue,onSave:null!=G?G:function(){}});var Fs=Oe||Ge,Ts=S({selectedWells:os,selectedWellsCount:rs,setSelectedWells:is,selectedWellSection:cs,setSelectedWellSection:ms,currentSelectionZone:as,setCurrentSelectionZone:ds,abandonPendingSearch:Ss,externalOffsets:Fe,maxOffsetSize:ge,offsetSettings:N,assetCompanyId:ke,subjectWellId:null!=Me?Me:void 0,subjectWell:Pe,filters:ce,metricsKeys:Ke,isMapHidden:te,isFilterExpanded:le,isLimitedOffsetWells:Cs,isLoadAllWells:Y,companyProvider:Qe,isWDUser:U,isManualWellsEnabled:z,hasValidAssetId:xe,isAllWellsLoaded:qe,idasWellIds:De,owsWellIds:Ze,wellhubWellIds:Ue,wells:Le,rawWellsWithSubject:Ve,pinnedWells:Ye,onClose:q,onSave:G,setFilters:fe,resetFilters:pe,resetSelectionTool:We,resetIsLoadAllWells:$,resetSafeguard:es,updateSelectedWellsBySection:ys}),Ds=Ts.isXtoProvider,Zs=Ts.syncedOffsetLabel,Us=Ts.savedOffsetLabel,zs=Ts.resetTooltipLabel,Bs=Ts.isResetVisible,Ks=Ts.isSynced,Ns=Ts.hasOffsetSource,Xs=Ts.hasSavedHandpicked,qs=Ts.handleSave,Gs=Ts.handleCancel,_s=Ts.handleReset,Js=Ts.applyResetFromExternalOffsets,Qs=M({sortedWells:Ps,subjectWell:Pe,isLimitedOffsetWells:Cs,isHScrollMoved:oe,setIsHScrollMoved:ie,isVScrollMoved:re,setIsVScrollMoved:ne,isAdvancedSearchHidden:ae,setIsAdvancedSearchHidden:de}),Ys=Qs.tableWells,$s=Qs.tableRowsCount,el=Qs.rightColumnRef,sl=Qs.isAnimatingRef,ll=Qs.indeterminate,tl=Qs.isAllWellsSelected,ol=Qs.handleScroll,il=k(),rl=il.containerRef,nl=il.contentRef,al=n((function(e){el.current=e,rl(e)}),[el,rl]),dl=I((function(e){return e.status})),cl=i(dl);a((function(){var e=cl.current;cl.current=dl,dl===v.SUCCEEDED&&e!==v.SUCCEEDED&&Js()}),[dl,Js]);var ml=!Le||!Ee||!Ps,ul=o(null),fl=e(ul,2),pl=fl[0],Wl=fl[1];a((function(){null!==Me&&ze===Me&&Fe&&Wl(Me)}),[Me,ze,Fe]);var Sl=null!==pl&&pl===Me;return s(l,{children:[Y&&t(H,{}),t(L,{open:Z,isMobile:T,isViewOnly:X,isMapHidden:te,isFilterExpanded:le,isVScrollMoved:re,isHScrollMoved:oe,isLoading:ml,isTableFullLoading:Fs,isResetVisible:Bs,isOffsetSourceKnown:Sl,hasOffsetSource:Ns,hasSavedHandpicked:Xs,isSynced:Ks,isLimitedOffsetWells:Cs,isWellSectionColumnVisible:Be,isAllWellsSelected:tl,indeterminate:ll,isXtoProvider:Ds,hasValidAssetId:xe,syncedOffsetLabel:Zs,savedOffsetLabel:Us,resetTooltipLabel:zs,maxOffsetWellNumber:we,subjectWell:Pe,subjectWellId:null!=Me?Me:void 0,selectedWells:os,selectedWellIds:ns,selectedWellsCount:rs,selectedWellSection:cs,filteredWells:ls,wellsToDisplay:gs,sortedWells:Ps,tableWells:Ys,tableRowsCount:$s,wellSections:Ee,metricsKeys:Ke,setMetricsKeys:Ne,columnsWithDict:As,taScores:Es,filterOptions:Os,loadingWellIds:Xe,loadingAssetIds:us,filters:ce,currentSelectionZone:as,activeWellId:je,sortBy:ks,setSortBy:xs,sortDirection:Rs,setSortDirection:Ls,shouldRecenter:ee,wells:Le,handleCancel:Gs,handleSave:qs,handleReset:_s,handleChangeOffsetWell:hs,handleBatchSelectWells:js,handleChangeAllOffsetWells:bs,handleSelectionZoneConfirm:vs,handleChangeWellSection:Is,handleAddRemoveAssets:Hs,handleScroll:ol,setActiveWellId:ve,setShouldRecenter:se,setIsAdvancedSearchHidden:de,wellsMapRef:Ie,contentRef:nl,rightColumnRef:el,containerRef:al,isAnimatingRef:sl})]})};export{V as OffsetWellPickerV5};
|
|
1
|
+
import e from"@babel/runtime/helpers/slicedToArray";import{jsxs as s,Fragment as l,jsx as t}from"react/jsx-runtime";import{useState as o,useRef as i,useMemo as r,useCallback as n,useEffect as a}from"react";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"lodash";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../clients/jsonApi/index.js";import"../../clients/subscriptions/constants.js";import"../../clients/subscriptions.v1.js";import"../../clients/subscriptions/subscriptions-client.factory.js";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"../../clients/api/rateLimiter.js";import"./constants.js";import"./api/shared/dataFormatter.js";import"zustand";import"./stores/picker-props-store/PickerPropsStoreContext.js";import"@babel/runtime/helpers/objectWithoutProperties";import"./viewport/ViewportProvider.js";import{useViewType as d}from"./viewport/useViewType.js";import{usePickerPropsStore as c}from"./stores/picker-props-store/usePickerPropsStore.js";import{useIsAdmin as m}from"./hooks/useIsAdmin.js";import{useFilterOptions as u}from"./hooks/useFilterOptions.js";import{useFilteredWells as f}from"./hooks/useFilteredWells.js";import{useSortedWells as p}from"./hooks/useSortedWells.js";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"lodash/debounce";import"./stores/viewport-store/ViewportStoreContext.js";import"lz-string";import"@mapbox/tilebelt";import"./components/Map/OffsetWellMap/constants.js";import"./stores/filter-store/FilterStoreContext.js";import"lodash/isEqual";import"./stores/company-safeguard/CompanySafeguardContext.js";import"./stores/viewport-store/ViewportStoreProvider.js";import{useWellSelection as W}from"./hooks/use-well-selection/useWellSelection.js";import{useSaveReset as S}from"./hooks/use-save-reset/useSaveReset.js";import{useAutoSyncOffsetWells as h}from"./hooks/useAutoSyncOffsetWells.js";import{useFilterValidation as b}from"./hooks/useFilterValidation.js";import{useWellDataPipeline as j}from"./hooks/use-well-data-pipeline/useWellDataPipeline.js";import"./stores/idas-resync-store/IdasResyncStoreContext.js";import"./stores/idas-resync-store/IdasResyncStoreProvider.js";import{IdasResyncStatus as v}from"./stores/idas-resync-store/idas-resync.types.js";import{useIdasResyncStore as y}from"./stores/idas-resync-store/useIdasResyncStore.js";import"../../utils/index.js";import{useSyncFilterDataSources as C}from"./stores/filter-store/utils/useSyncFilterDataSources.js";import{useAllWells as I}from"./hooks/useAllWells/useAllWells.js";import{usePickerStoreSelectors as O}from"./hooks/usePickerStoreSelectors.js";import{useWellsToDisplay as A}from"./hooks/useWellsToDisplay.js";import{useLimitNotification as g}from"./hooks/useLimitNotification.js";import{useTableColumns as w}from"./components/OffsetWellsTable/hooks/useTableColumns.js";import{useTablePagination as k}from"./components/OffsetWellsTable/hooks/useTablePagination.js";import{useHScrollShadowReconcile as x}from"./components/OffsetWellsTable/hooks/useHScrollShadowReconcile.js";import{useAdvancedSearchHandler as R}from"./components/OffsetWellsTable/hooks/useAdvancedSearchHandler.js";import{useInitialBounds as L}from"./components/Map/OffsetWellMap/hooks/useInitialBounds.js";import{OffsetWellPickerContent as M}from"./components/OffsetWellPickerContent/OffsetWellPickerContent.js";import{isXtoIdasPicker as P}from"./utils/isXtoIdasPicker.js";var H=function(){return I(),null},E=function(){var I,E,F,T,D=d().isMobile,V=O(),Z=V.open,U=V.isWDUser,z=V.isManualWellsEnabled,B=V.defaultSubjectWell,K=V.currentUser,N=V.offsetSettings,X=V.isViewOnly,q=V.onClose,G=V.onSave,_=V.offsetSize,J=V.localMaxOffsetSize,Q=V.syncAutoEnabled,Y=V.isLoadAllWells,$=V.resetIsLoadAllWells,ee=V.shouldRecenter,se=V.setShouldRecenter,le=V.isFilterExpanded,te=V.isMapHidden,oe=V.isHScrollMoved,ie=V.setIsHScrollMoved,re=V.isAdvancedSearchHidden,ne=V.setIsAdvancedSearchHidden,ae=V.filters,de=V.lastFilterMutationSource,ce=V.filterMutationSeq,me=V.setFilters,ue=V.resetFilters,fe=V.resetSelectionTool,pe=c((function(e){return e.segment})),We=o(null),Se=e(We,2),he=Se[0],be=Se[1],je=i(null),ve=o(!0),ye=e(ve,2),Ce=ye[0],Ie=ye[1],Oe=Math.min(_+1,J+1),Ae=Math.max(Oe,J+1),ge=null!==(I=null==B?void 0:B.asset_id)&&void 0!==I?I:null,we=+(null!==(E=null==B?void 0:B.companyId)&&void 0!==E?E:0)||+(null!==(F=null==K?void 0:K.company_id)&&void 0!==F?F:0),ke=null!=ge&&ge>0,xe=j({subjectWellId:ge,assetCompanyId:we,offsetSettings:N,maxOffsetWellNumber:Ae,isLoadAllWells:Y,open:Z,onSave:G}),Re=xe.wells,Le=xe.subjectWell,Me=xe.subjectWellCoords,Pe=xe.rawWellsWithSubject,He=xe.wellSections,Ee=xe.externalOffsets,Fe=xe.taScores,Te=xe.idasWellIds,De=xe.owsWellIds,Ve=xe.wellhubWellIds,Ze=xe.loadedAssetId,Ue=xe.isWellSectionColumnVisible,ze=xe.metricsKeys,Be=xe.setMetricsKeys,Ke=xe.loadingWellIds,Ne=xe.isAllWellsLoaded,Xe=xe.areRawWellsLoading,qe=xe.companies,Ge=xe.canViewCompanies,_e=xe.companyProvider,Je=xe.pinnedWells,Qe=xe.fetchSearchedWells,Ye=xe.resetSafeguard,$e=m()&&null!==(T=ae.showHiddenWells)&&void 0!==T&&T,es=f(Re,ae,$e),ss=W({subjectWellId:null!=ge?ge:void 0,subjectWell:Le,wells:Re,filteredWells:es,externalOffsets:Ee,rawWellsWithSubject:Pe,offsetSettings:N,maxOffsetWellNumber:Ae,maxOffsetSize:Oe,open:!!Z,isAllWellsLoaded:Ne,fetchSearchedWells:Qe,filters:ae,filterMutationSeq:ce,lastFilterMutationSource:de,includeHidden:$e}),ls=ss.selectedWells,ts=ss.setSelectedWells,os=ss.selectedWellsCount,is=ss.selectedWellIds,rs=ss.currentSelectionZone,ns=ss.setCurrentSelectionZone,as=ss.selectedWellSection,ds=ss.setSelectedWellSection,cs=ss.loadingAssetIds,ms=ss.setLoadingAssetIds,us=ss.searchGenerationRef,fs=ss.markUserEdit,ps=ss.abandonPendingSearch,Ws=ss.handleChangeOffsetWell,Ss=ss.handleChangeAllOffsetWells,hs=ss.handleBatchSelectWells,bs=ss.handleSelectionZoneConfirm,js=ss.handleChangeWellSection,vs=ss.updateSelectedWellsBySection,ys=Ae<=(null==ls?void 0:ls.length);L({subjectWellCoords:Me,hasSubjectWell:null!=ge,open:!!Z,ghostZone:rs}),g(Z,ys,Ae),C(null!=Re?Re:null,qe,Ge,Ne,Y,pe);var Cs=u();b({open:Z,isAllWellsLoaded:Ne,filters:ae,filterOptions:Cs,isLoadAllWells:Y,setFilters:me});var Is=w(ze,Ge,Ue,ke),Os=A(es,ls,Re,Ee,as,$e),As=p(Le,Os,ls,Ie,null==N?void 0:N.selectedWellIds),gs=e(As,5),ws=gs[0],ks=gs[1],xs=gs[2],Rs=gs[3],Ls=gs[4],Ms=R({filters:ae,wells:Re,maxOffsetWellNumber:Ae,includeHidden:$e,fetchSearchedWells:Qe,setIsTableLoading:Ie,setSelectedWells:ts,setLoadingAssetIds:ms,setCurrentSelectionZone:ns,markUserEdit:fs,searchGenerationRef:us}),Ps=P({isWDUser:U,isManualWellsEnabled:z,companyProvider:_e}),Hs=r((function(){return Ps?Fe:[]}),[Ps,Fe]);h({isAllWellsLoaded:Ne,syncAutoEnabled:Q,isXtoIdas:Ps,offsetSettings:N,externalOffsets:Ee,subjectWellId:ge,maxOffsetWellNumber:Ae,localMaxOffsetSize:J,idasWellIds:Te,owsWellIds:De,wellhubWellIds:Ve,onSave:null!=G?G:function(){}});var Es=Ce||Xe,Fs=S({selectedWells:ls,selectedWellsCount:os,setSelectedWells:ts,selectedWellSection:as,setSelectedWellSection:ds,currentSelectionZone:rs,setCurrentSelectionZone:ns,abandonPendingSearch:ps,externalOffsets:Ee,maxOffsetSize:Oe,offsetSettings:N,assetCompanyId:we,subjectWellId:null!=ge?ge:void 0,subjectWell:Le,filters:ae,metricsKeys:ze,isMapHidden:te,isFilterExpanded:le,isLimitedOffsetWells:ys,isLoadAllWells:Y,companyProvider:_e,isWDUser:U,isManualWellsEnabled:z,hasValidAssetId:ke,isAllWellsLoaded:Ne,idasWellIds:Te,owsWellIds:De,wellhubWellIds:Ve,wells:Re,rawWellsWithSubject:Pe,pinnedWells:Je,onClose:q,onSave:G,setFilters:me,resetFilters:ue,resetSelectionTool:fe,resetIsLoadAllWells:$,resetSafeguard:Ye,updateSelectedWellsBySection:vs}),Ts=Fs.isXtoProvider,Ds=Fs.syncedOffsetLabel,Vs=Fs.savedOffsetLabel,Zs=Fs.resetTooltipLabel,Us=Fs.isResetVisible,zs=Fs.isSynced,Bs=Fs.hasOffsetSource,Ks=Fs.hasSavedHandpicked,Ns=Fs.handleSave,Xs=Fs.handleCancel,qs=Fs.handleReset,Gs=Fs.applyResetFromExternalOffsets,_s=k({sortedWells:Ls,subjectWell:Le,isLimitedOffsetWells:ys,isHScrollMoved:oe,setIsHScrollMoved:ie,isAdvancedSearchHidden:re,setIsAdvancedSearchHidden:ne}),Js=_s.tableWells,Qs=_s.tableRowsCount,Ys=_s.rightColumnRef,$s=_s.isAnimatingRef,el=_s.indeterminate,sl=_s.isAllWellsSelected,ll=_s.handleScroll,tl=x(),ol=tl.containerRef,il=tl.contentRef,rl=n((function(e){Ys.current=e,ol(e)}),[Ys,ol]),nl=y((function(e){return e.status})),al=i(nl);a((function(){var e=al.current;al.current=nl,nl===v.SUCCEEDED&&e!==v.SUCCEEDED&&Gs()}),[nl,Gs]);var dl=!Re||!He||!Ls,cl=o(null),ml=e(cl,2),ul=ml[0],fl=ml[1];a((function(){null!==ge&&Ze===ge&&Ee&&fl(ge)}),[ge,Ze,Ee]);var pl=null!==ul&&ul===ge;return s(l,{children:[Y&&t(H,{}),t(M,{open:Z,isMobile:D,isViewOnly:X,isMapHidden:te,isFilterExpanded:le,isHScrollMoved:oe,isLoading:dl,isTableFullLoading:Es,isResetVisible:Us,isOffsetSourceKnown:pl,hasOffsetSource:Bs,hasSavedHandpicked:Ks,isSynced:zs,isLimitedOffsetWells:ys,isWellSectionColumnVisible:Ue,isAllWellsSelected:sl,indeterminate:el,isXtoProvider:Ts,hasValidAssetId:ke,syncedOffsetLabel:Ds,savedOffsetLabel:Vs,resetTooltipLabel:Zs,maxOffsetWellNumber:Ae,subjectWell:Le,subjectWellId:null!=ge?ge:void 0,selectedWells:ls,selectedWellIds:is,selectedWellsCount:os,selectedWellSection:as,filteredWells:es,wellsToDisplay:Os,sortedWells:Ls,tableWells:Js,tableRowsCount:Qs,wellSections:He,metricsKeys:ze,setMetricsKeys:Be,columnsWithDict:Is,taScores:Hs,filterOptions:Cs,loadingWellIds:Ke,loadingAssetIds:cs,filters:ae,currentSelectionZone:rs,activeWellId:he,sortBy:ws,setSortBy:ks,sortDirection:xs,setSortDirection:Rs,shouldRecenter:ee,wells:Re,handleCancel:Xs,handleSave:Ns,handleReset:qs,handleChangeOffsetWell:Ws,handleBatchSelectWells:hs,handleChangeAllOffsetWells:Ss,handleSelectionZoneConfirm:bs,handleChangeWellSection:js,handleAddRemoveAssets:Ms,handleScroll:ll,setActiveWellId:be,setShouldRecenter:se,setIsAdvancedSearchHidden:ne,wellsMapRef:je,contentRef:il,rightColumnRef:Ys,containerRef:rl,isAnimatingRef:$s})]})};export{E as OffsetWellPickerV5};
|
|
2
2
|
//# sourceMappingURL=OffsetWellPickerV5.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from'./../../ext-esm/style-inject/dist/style-inject.es.js';var l={modalDialog:"OffsetWellPickerV5-module_modalDialog__TPNiQ",offsetWellDialog:"OffsetWellPickerV5-module_offsetWellDialog__youB7",viewOnlyTitleLabel:"OffsetWellPickerV5-module_viewOnlyTitleLabel__6ZNFz",contentWrapper:"OffsetWellPickerV5-module_contentWrapper__uxyLq",content:"OffsetWellPickerV5-module_content__DQ90A",contentBlocked:"OffsetWellPickerV5-module_contentBlocked__68j-Q",modalActions:"OffsetWellPickerV5-module_modalActions__xVi-m",actionsWrapper:"OffsetWellPickerV5-module_actionsWrapper__HZU9D",buttonGap:"OffsetWellPickerV5-module_buttonGap__SuS-N",totalLabel:"OffsetWellPickerV5-module_totalLabel__-wg4s",selectedLabel:"OffsetWellPickerV5-module_selectedLabel__IkDFC",countValue:"OffsetWellPickerV5-module_countValue__qfrHh",maxOffsetSize:"OffsetWellPickerV5-module_maxOffsetSize__s7TGK",resetButtonMobile:"OffsetWellPickerV5-module_resetButtonMobile__jtcOI",infoIconContainer:"OffsetWellPickerV5-module_infoIconContainer__u-3f-",viewOnlyInfoContainer:"OffsetWellPickerV5-module_viewOnlyInfoContainer__2PBz0",infoIcon:"OffsetWellPickerV5-module_infoIcon__WMGgx",topGradient:"OffsetWellPickerV5-module_topGradient__B6Sk6",
|
|
1
|
+
import e from'./../../ext-esm/style-inject/dist/style-inject.es.js';var l={modalDialog:"OffsetWellPickerV5-module_modalDialog__TPNiQ",offsetWellDialog:"OffsetWellPickerV5-module_offsetWellDialog__youB7",viewOnlyTitleLabel:"OffsetWellPickerV5-module_viewOnlyTitleLabel__6ZNFz",contentWrapper:"OffsetWellPickerV5-module_contentWrapper__uxyLq",content:"OffsetWellPickerV5-module_content__DQ90A",contentBlocked:"OffsetWellPickerV5-module_contentBlocked__68j-Q",modalActions:"OffsetWellPickerV5-module_modalActions__xVi-m",actionsWrapper:"OffsetWellPickerV5-module_actionsWrapper__HZU9D",buttonGap:"OffsetWellPickerV5-module_buttonGap__SuS-N",totalLabel:"OffsetWellPickerV5-module_totalLabel__-wg4s",selectedLabel:"OffsetWellPickerV5-module_selectedLabel__IkDFC",countValue:"OffsetWellPickerV5-module_countValue__qfrHh",maxOffsetSize:"OffsetWellPickerV5-module_maxOffsetSize__s7TGK",resetButtonMobile:"OffsetWellPickerV5-module_resetButtonMobile__jtcOI",infoIconContainer:"OffsetWellPickerV5-module_infoIconContainer__u-3f-",viewOnlyInfoContainer:"OffsetWellPickerV5-module_viewOnlyInfoContainer__2PBz0",infoIcon:"OffsetWellPickerV5-module_infoIcon__WMGgx",topGradient:"OffsetWellPickerV5-module_topGradient__B6Sk6",columnsContainer:"OffsetWellPickerV5-module_columnsContainer__PE9E1",leftColumn:"OffsetWellPickerV5-module_leftColumn__o-gOj",rightColumn:"OffsetWellPickerV5-module_rightColumn__Dm2ja"};e('.OffsetWellPickerV5-module_modalDialog__TPNiQ{max-height:1166px!important;max-width:1900px!important;position:relative;width:100%!important}.OffsetWellPickerV5-module_offsetWellDialog__youB7{display:flex;flex-direction:column;height:100%;max-height:100%;position:relative}.OffsetWellPickerV5-module_viewOnlyTitleLabel__6ZNFz{color:var(--palette-primary-text-6);font-size:16px!important;line-height:140.6%!important;margin-bottom:16px!important;margin-left:40px!important}.OffsetWellPickerV5-module_contentWrapper__uxyLq{display:flex;flex-direction:column;height:100%;position:relative}.OffsetWellPickerV5-module_content__DQ90A{display:flex;flex:1;flex-direction:column;position:relative}.OffsetWellPickerV5-module_contentBlocked__68j-Q{overflow:hidden}.OffsetWellPickerV5-module_content__DQ90A::-webkit-scrollbar-corner{background-color:transparent}.OffsetWellPickerV5-module_content__DQ90A::-webkit-scrollbar{width:16px}.OffsetWellPickerV5-module_content__DQ90A::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:hsla(240,2%,65%,.722);border:5px solid rgba(0,0,0,.01);border-radius:10px}.OffsetWellPickerV5-module_modalActions__xVi-m{box-shadow:none;justify-content:flex-end}.OffsetWellPickerV5-module_actionsWrapper__HZU9D{align-items:center;display:flex;flex:1;justify-content:space-between}.OffsetWellPickerV5-module_buttonGap__SuS-N{display:flex;gap:16px;margin-left:auto}.OffsetWellPickerV5-module_totalLabel__-wg4s{color:var(--palette-primary-text-6)}.OffsetWellPickerV5-module_selectedLabel__IkDFC{color:var(--palette-primary-text-6);padding-left:16px}.OffsetWellPickerV5-module_countValue__qfrHh{color:var(--palette-primary-text-1);padding-left:8px}.OffsetWellPickerV5-module_maxOffsetSize__s7TGK{color:var(--palette-primary-text-6);cursor:default;padding-left:4px}.OffsetWellPickerV5-module_resetButtonMobile__jtcOI{max-height:40px;max-width:40px;min-height:40px;min-width:40px!important}.OffsetWellPickerV5-module_infoIconContainer__u-3f-{height:40px}.OffsetWellPickerV5-module_viewOnlyInfoContainer__2PBz0{padding:24px 40px 0}.OffsetWellPickerV5-module_infoIcon__WMGgx{color:#dadada;height:40px!important;padding:10px;width:40px!important}.OffsetWellPickerV5-module_topGradient__B6Sk6{background-color:var(--palette-background-b-6);border:none!important;flex-shrink:0;height:16px!important;left:0;padding:0!important;position:relative;right:0;width:100%;z-index:3}.OffsetWellPickerV5-module_topGradient__B6Sk6:after{bottom:calc(100% - 80px);content:"";height:16px;left:0;pointer-events:none;position:absolute;right:0}@container scroll-state(stuck: top){.OffsetWellPickerV5-module_topGradient__B6Sk6:after{background-image:linear-gradient(180deg,var(--palette-background-b-6) 0,rgba(51,51,51,0) 100%)}}.OffsetWellPickerV5-module_columnsContainer__PE9E1{display:flex;flex:1;flex-direction:row;gap:16px;max-height:100%;min-height:0}.OffsetWellPickerV5-module_leftColumn__o-gOj{display:flex;flex:0 0 auto;flex-direction:column;isolation:isolate;position:relative;width:var(--offset-map-width,600px)}.OffsetWellPickerV5-module_rightColumn__Dm2ja{container-type:inline-size;display:flex;flex:1 1 0;flex-direction:column;isolation:isolate;min-height:0;min-width:0;overflow:auto;position:relative}.OffsetWellPickerV5-module_rightColumn__Dm2ja::-webkit-scrollbar-corner{background-color:transparent}.OffsetWellPickerV5-module_rightColumn__Dm2ja::-webkit-scrollbar{width:16px}.OffsetWellPickerV5-module_rightColumn__Dm2ja::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:hsla(240,2%,65%,.722);border:5px solid rgba(0,0,0,.01);border-radius:10px}');export{l as default};
|
|
2
2
|
//# sourceMappingURL=OffsetWellPickerV5.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OffsetWellMap.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.tsx"],"names":[],"mappings":"AAGA,OAAO,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AASlE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAQ1D,KAAK,iBAAiB,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACjC,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,sBAAsB,EAAE,CAAC,IAAI,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,UAAU,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9E,kBAAkB,EAAE,CAClB,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,EACvB,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,KAC7C,IAAI,CAAC;IACV,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IACrC,sBAAsB,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IACvD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,kEAAkE;IAClE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC3C,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAAE,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,CAAC;AAE1E,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"OffsetWellMap.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.tsx"],"names":[],"mappings":"AAGA,OAAO,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AASlE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAQ1D,KAAK,iBAAiB,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACjC,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,sBAAsB,EAAE,CAAC,IAAI,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,UAAU,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9E,kBAAkB,EAAE,CAClB,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,EACvB,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,KAC7C,IAAI,CAAC;IACV,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IACrC,sBAAsB,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IACvD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,kEAAkE;IAClE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC3C,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAAE,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,CAAC;AAE1E,eAAO,MAAM,aAAa,oHA4JxB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import{jsxs as o,jsx as s}from"react/jsx-runtime";import{forwardRef as l,useCallback as t}from"react";import i from"@vis.gl/react-mapbox";import a from"classnames";import"mapbox-gl/dist/mapbox-gl.css";import{MapLayers as n}from"./components/MapLayers/MapLayers.js";import{MapOverlayControls as r}from"./components/MapOverlayControls/MapOverlayControls.js";import{MapResizeVeil as d}from"./components/MapResizeVeil/MapResizeVeil.js";import{useFlyToWell as c}from"./hooks/useFlyToWell.js";import{useIsMapCompact as u}from"./hooks/useIsMapCompact.js";import{useMapResizeOnContainer as h}from"./hooks/useMapResizeOnContainer.js";import{useOffsetWellMapState as p}from"./hooks/useOffsetWellMapState.js";import{MapConfig as m}from"./constants.js";import g from"./OffsetWellMap.module.css.js";import{LoaderLinear as f}from"../../../../../componentsV2/LoaderLinear/LoaderLinear.js";import{MAP_BOX_ACCESS_TOKEN as v}from"../../../../../config/mapbox/index.js";function S(e,o){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);o&&(l=l.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),s.push.apply(s,l)}return s}function y(o){for(var s=1;s<arguments.length;s++){var l=null!=arguments[s]?arguments[s]:{};s%2?S(Object(l),!0).forEach((function(s){e(o,s,l[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(l)):S(Object(l)).forEach((function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(l,e))}))}return o}var O=l((function(e,l){var S=e.subjectWell,O=void 0===S?null:S,w=e.wells,M=e.offsetWellIds,
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import{jsxs as o,jsx as s}from"react/jsx-runtime";import{forwardRef as l,useCallback as t}from"react";import i from"@vis.gl/react-mapbox";import a from"classnames";import"mapbox-gl/dist/mapbox-gl.css";import{MapLayers as n}from"./components/MapLayers/MapLayers.js";import{MapOverlayControls as r}from"./components/MapOverlayControls/MapOverlayControls.js";import{MapResizeVeil as d}from"./components/MapResizeVeil/MapResizeVeil.js";import{useFlyToWell as c}from"./hooks/useFlyToWell.js";import{useIsMapCompact as u}from"./hooks/useIsMapCompact.js";import{useMapResizeOnContainer as h}from"./hooks/useMapResizeOnContainer.js";import{useOffsetWellMapState as p}from"./hooks/useOffsetWellMapState.js";import{MapConfig as m}from"./constants.js";import g from"./OffsetWellMap.module.css.js";import{LoaderLinear as f}from"../../../../../componentsV2/LoaderLinear/LoaderLinear.js";import{MAP_BOX_ACCESS_TOKEN as v}from"../../../../../config/mapbox/index.js";function S(e,o){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);o&&(l=l.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),s.push.apply(s,l)}return s}function y(o){for(var s=1;s<arguments.length;s++){var l=null!=arguments[s]?arguments[s]:{};s%2?S(Object(l),!0).forEach((function(s){e(o,s,l[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(l)):S(Object(l)).forEach((function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(l,e))}))}return o}var O=l((function(e,l){var S=e.subjectWell,O=void 0===S?null:S,w=e.wells,M=e.offsetWellIds,R=e.handleChangeOffsetWell,b=e.onBatchSelectWells,C=e.activeWellId,W=e.isClickable,j=void 0===W||W,D=e.selectionZone,L=e.onSelectionZoneConfirm,Z=e.shouldRecenter,I=e.onRecenterComplete,P=e.isResizing,A=void 0!==P&&P,x=e.classes,E=void 0===x?{}:x,T=p({subjectWell:O,wells:w,offsetWellIds:M,handleChangeOffsetWell:R,onBatchSelectWells:b,activeWellId:null!=C?C:null,isClickable:j,selectionZone:D,onSelectionZoneConfirm:L,shouldRecenter:Z,onRecenterComplete:I});c(l,T.mapRef,w,T.isMapReady);var k=T.showRadiusInput&&null!==T.drawingRadiusMiles,V=u(),N=V.ref,G=V.isCompact&&k,z=h(T.mapRef,A),J=t((function(e){N(e),z(e)}),[N,z]);return o("div",{ref:J,className:a(g.mapView,E.root),children:[o(i,y(y({ref:T.mapRef},T.viewState),{},{onMove:T.handleMove,onMoveStart:T.handleMoveStart,onMoveEnd:T.handleMoveEnd,onResize:T.tileSafeOnResize,onLoad:T.handleMapLoad,mapboxAccessToken:v,mapStyle:m.Styles[T.mapStyle],style:{borderRadius:"8px"},scrollZoom:!0,doubleClickZoom:!0,boxZoom:!1,attributionControl:!1,interactiveLayerIds:[m.LayerIds.WellsClusters,m.LayerIds.WellsUnclustered],onClick:T.handleMapClick,onMouseMove:T.handleMouseMove,onMouseLeave:T.handleMouseLeave,onDblClick:T.handleZoomInWithSync,onDragStart:T.handleDragStart,onDragEnd:T.handleDragEnd,onMouseDown:T.handleMouseDown,cursor:T.cursor,children:[(T.isTileLoading&&!T.isTooZoomedOut||T.isAllWellsLoading)&&s(f,{type:"fancy",size:"medium",className:g.mapLoader}),s(n,{wellsGeoJSON:T.wellsGeoJSON,highlightGeoJSON:T.highlightGeoJSON,activeHighlightGeoJSON:T.activeHighlightGeoJSON,loadingTilesGeoJSON:T.loadingTilesGeoJSON,hoveredWell:T.hoveredWell,mapStyle:T.mapStyle,isSatellite:T.isSatellite,clusterColorExpression:T.clusterColorExpression,isRadiusToolActive:T.isRadiusToolActive,radiusState:T.radiusState,radiusDrawingPreviewCircle:T.radiusDrawingPreviewCircle,isRadiusHoveringEdge:T.isRadiusHoveringEdge,isRadiusDrawingDragging:T.isRadiusDrawingDragging,showGhostZone:T.showGhostZone,selectionZone:D,isTooZoomedOut:T.isTooZoomedOut,isLoadAllWells:T.isLoadAllWells,isActiveWellIsSubjectWell:T.isActiveWellIsSubjectWell,isLassoActive:T.isLassoActive,isMapReady:T.isMapReady,polygonCoords:T.polygonCoords,drawRef:T.drawRef,handleDrawCreate:T.handleDrawCreate,handleDrawUpdate:T.handleDrawUpdate,handleDrawDelete:T.handleDrawDelete,handleModeChange:T.handleModeChange,handleSelectionChange:T.handleSelectionChange,subjectWellCoords:T.subjectWellCoords,subjectWell:O,handleSubjectWellMouseEnter:T.handleSubjectWellMouseEnter,handleSubjectWellMouseLeave:T.handleSubjectWellMouseLeave,hoveredCluster:T.hoveredCluster,tooltipAnchor:T.tooltipAnchor,tooltipOffset:T.tooltipOffset,isViewOnly:T.isViewOnly,isClickable:j})]})),s(d,{isResizing:A}),s(r,{showRadiusInput:T.showRadiusInput,drawingRadiusMiles:T.drawingRadiusMiles,setDrawingRadiusMiles:T.setDrawingRadiusMiles,isSatellite:T.isSatellite,handleZoomInWithSync:T.handleZoomInWithSync,handleZoomOutWithSync:T.handleZoomOutWithSync,handleResetZoom:T.handleResetZoom,canZoomIn:T.canZoomIn,canZoomOut:T.canZoomOut,isZoomReset:T.isZoomReset,isRadiusToolActive:T.isRadiusToolActive,handleRadiusToggle:T.handleRadiusToggle,isLassoActive:T.isLassoActive,handleLassoToggle:T.handleLassoToggle,distance:T.distance,mapStyle:T.mapStyle,setMapStyle:T.setMapStyle,isViewOnly:T.isViewOnly,hintsRef:T.hintsRef,hintsMode:T.hintsMode,areHintsCompact:G,boxState:T.boxState,isDrawing:T.isDrawing,drawingPointCount:T.drawingPointCount,isEditingPolygon:T.isEditingPolygon,isEditingVertices:T.isEditingVertices,hasValidPolygon:!!T.hasValidPolygon,effectiveZoomedOut:T.effectiveZoomedOut,isLoadAllWells:T.isLoadAllWells,lassoPhase:T.lassoState.phase,radiusPhase:T.radiusState.phase,wellsInBoxCount:T.wellsInBoxCount,toast:T.toast})]})}));O.displayName="OffsetWellMap";export{O as OffsetWellMap};
|
|
2
2
|
//# sourceMappingURL=OffsetWellMap.js.map
|
|
@@ -7,7 +7,8 @@ export type MapHintsStashProps = MapHintsProps & {
|
|
|
7
7
|
hintsRef?: ElementCallbackRef;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
|
-
* Compact form of the map hints for narrow maps (
|
|
10
|
+
* Compact form of the map hints for narrow maps (≤ `MapLayout.hintsStashBreakpoint`, while the
|
|
11
|
+
* radius input is visible): an icon
|
|
11
12
|
* button that opens a dropdown showing the same `MapHints` content. The trigger carries the
|
|
12
13
|
* tooltip-anchor ref so `useTooltipAnchor` keeps working; the inner `MapHints` is rendered
|
|
13
14
|
* without the absolute positioning className so it lays out normally inside the popover.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapHintsStash.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAO1D,KAAK,kBAAkB,GAAG,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;AAEhE,MAAM,MAAM,kBAAkB,GAAG,aAAa,GAAG;IAC/C,oFAAoF;IACpF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4FAA4F;IAC5F,QAAQ,CAAC,EAAE,kBAAkB,CAAC;CAC/B,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"MapHintsStash.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAO1D,KAAK,kBAAkB,GAAG,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;AAEhE,MAAM,MAAM,kBAAkB,GAAG,aAAa,GAAG;IAC/C,oFAAoF;IACpF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4FAA4F;IAC5F,QAAQ,CAAC,EAAE,kBAAkB,CAAC;CAC/B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,GAAI,wCAAwC,kBAAkB,gBAsCvF,CAAC"}
|
|
@@ -38,7 +38,11 @@ type MapOverlayControlsProps = {
|
|
|
38
38
|
isViewOnly: boolean;
|
|
39
39
|
hintsRef: (element: HTMLElement | null) => void;
|
|
40
40
|
hintsMode: 'box' | 'lasso' | 'radius';
|
|
41
|
-
/**
|
|
41
|
+
/**
|
|
42
|
+
* When true, the top-right hints collapse into an icon + dropdown stash. Set when the map is
|
|
43
|
+
* narrow (≤ `MapLayout.hintsStashBreakpoint`) *and* the radius input is visible — the two
|
|
44
|
+
* would otherwise crowd each other in the top row.
|
|
45
|
+
*/
|
|
42
46
|
areHintsCompact: boolean;
|
|
43
47
|
boxState: BoxState;
|
|
44
48
|
isDrawing: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapOverlayControls.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapOverlayControls/MapOverlayControls.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kDAAkD,CAAC;AAWrF,KAAK,WAAW,GAAG,MAAM,GAAG,gBAAgB,GAAG,SAAS,GAAG,YAAY,CAAC;AACxE,KAAK,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,YAAY,CAAC;AAEpD,KAAK,QAAQ,GAAG;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAC5C,QAAQ,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;CAC3C,CAAC;AAEF,KAAK,KAAK,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,SAAS,GAAG,OAAO,CAAA;CAAE,GAAG,IAAI,CAAC;AAEtE,KAAK,uBAAuB,GAAG;IAC7B,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,qBAAqB,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,WAAW,EAAE,OAAO,CAAC;IACrB,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,aAAa,EAAE,OAAO,CAAC;IACvB,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,YAAY,CAAC;IACvB,WAAW,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC3C,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IAChD,SAAS,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;IACtC
|
|
1
|
+
{"version":3,"file":"MapOverlayControls.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapOverlayControls/MapOverlayControls.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kDAAkD,CAAC;AAWrF,KAAK,WAAW,GAAG,MAAM,GAAG,gBAAgB,GAAG,SAAS,GAAG,YAAY,CAAC;AACxE,KAAK,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,YAAY,CAAC;AAEpD,KAAK,QAAQ,GAAG;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAC5C,QAAQ,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;CAC3C,CAAC;AAEF,KAAK,KAAK,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,SAAS,GAAG,OAAO,CAAA;CAAE,GAAG,IAAI,CAAC;AAEtE,KAAK,uBAAuB,GAAG;IAC7B,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,qBAAqB,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,WAAW,EAAE,OAAO,CAAC;IACrB,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,aAAa,EAAE,OAAO,CAAC;IACvB,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,YAAY,CAAC;IACvB,WAAW,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC3C,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IAChD,SAAS,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;IACtC;;;;OAIG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,QAAQ,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,cAAc,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CA0E1D,CAAC"}
|
package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ type UseIsMapCompactResult = {
|
|
|
3
3
|
isCompact: boolean;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
6
|
-
* Observes an element's width and reports whether it is below `breakpoint`.
|
|
6
|
+
* Observes an element's width and reports whether it is at/below `breakpoint`.
|
|
7
7
|
*
|
|
8
8
|
* Unlike `useElementSize`, this commits only a boolean to state and skips same-value commits.
|
|
9
9
|
* So while a width changes every frame during a map resize, the consumer re-renders at most
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/slicedToArray";import{useState as t,useRef as e,useCallback as o,useEffect as n}from"react";import{MapLayout as i}from"../../../../constants.js";import{useResizeObserverEffect as c}from"../../../../hooks/useResizeObserverEffect.js";var s=function(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.hintsStashBreakpoint,f=t(!1),a=r(f,2),u=a[0],m=a[1],p=e(!1),h=e(0),v=o((function(r){p.current!==r&&(p.current=r,m(r))}),[]),l=o((function(r){var t=r.width;h.current=t,v(t>0&&t
|
|
1
|
+
import r from"@babel/runtime/helpers/slicedToArray";import{useState as t,useRef as e,useCallback as o,useEffect as n}from"react";import{MapLayout as i}from"../../../../constants.js";import{useResizeObserverEffect as c}from"../../../../hooks/useResizeObserverEffect.js";var s=function(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.hintsStashBreakpoint,f=t(!1),a=r(f,2),u=a[0],m=a[1],p=e(!1),h=e(0),v=o((function(r){p.current!==r&&(p.current=r,m(r))}),[]),l=o((function(r){var t=r.width;h.current=t,v(t>0&&t<=s)}),[s,v]),b=c(l),d=b.ref;return n((function(){var r=h.current;v(r>0&&r<=s)}),[s,v]),{ref:d,isCompact:u}};export{s as useIsMapCompact};
|
|
2
2
|
//# sourceMappingURL=useIsMapCompact.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { OffsetWellPickerContentProps } from './OffsetWellPickerContent.types';
|
|
2
|
-
export declare const OffsetWellPickerContent: ({ open, isMobile, isViewOnly, isMapHidden, isFilterExpanded,
|
|
2
|
+
export declare const OffsetWellPickerContent: ({ open, isMobile, isViewOnly, isMapHidden, isFilterExpanded, isHScrollMoved, isLoading, isTableFullLoading, isResetVisible, isOffsetSourceKnown, hasOffsetSource, hasSavedHandpicked, isSynced, isLimitedOffsetWells, isWellSectionColumnVisible, isAllWellsSelected, indeterminate, isXtoProvider, hasValidAssetId, syncedOffsetLabel, savedOffsetLabel, resetTooltipLabel, maxOffsetWellNumber, subjectWell, subjectWellId, selectedWells, selectedWellIds, selectedWellsCount, selectedWellSection, filteredWells, wellsToDisplay, sortedWells, tableWells, tableRowsCount, wellSections, metricsKeys, setMetricsKeys, columnsWithDict, taScores, filterOptions, loadingWellIds, loadingAssetIds, filters, currentSelectionZone, activeWellId, sortBy, setSortBy, sortDirection, setSortDirection, shouldRecenter, wells, handleCancel, handleSave, handleReset, handleChangeOffsetWell, handleBatchSelectWells, handleChangeAllOffsetWells, handleSelectionZoneConfirm, handleChangeWellSection, handleAddRemoveAssets, handleScroll, setActiveWellId, setShouldRecenter, setIsAdvancedSearchHidden, wellsMapRef, contentRef, rightColumnRef, containerRef, isAnimatingRef, }: OffsetWellPickerContentProps) => JSX.Element;
|
|
3
3
|
//# sourceMappingURL=OffsetWellPickerContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OffsetWellPickerContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,iCAAiC,CAAC;AAWpF,eAAO,MAAM,uBAAuB,GAAI,
|
|
1
|
+
{"version":3,"file":"OffsetWellPickerContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,iCAAiC,CAAC;AAWpF,eAAO,MAAM,uBAAuB,GAAI,mnCAsErC,4BAA4B,gBA8J9B,CAAC"}
|
package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"@babel/runtime/helpers/defineProperty";import{jsx as e,jsxs as t,Fragment as s}from"react/jsx-runtime";import{useMemo as i,useCallback as n}from"react";import r from"classnames";import{uniqBy as p}from"lodash";import{AppHeader as m}from"../AppHeader/AppHeader.js";import{PickerModalActions as c}from"../PickerModalActions/PickerModalActions.js";import{MapColumn as l}from"../MapColumn/MapColumn.js";import{TableSection as a}from"../TableSection/TableSection.js";import{useElementSize as d}from"../../hooks/useElementSize.js";import j from"../../OffsetWellPickerV5.module.css.js";import"@material-ui/core/Snackbar";import"../../../Notifications/Toast.js";import"../../../Notifications/Notifications.scss.js";import{NotificationsContainer as u}from"../../../Notifications/NotificationsContainer.js";import C from"../../../../styles/typography/index.js";import"../../../../styles/counter/counter.module.scss.js";import"../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"@babel/runtime/helpers/objectWithoutProperties";import"@material-ui/core";import"../../../Modal/CorvaModal.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/SearchOne.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/Global.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"../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../icons/customIcons/icons/Lasso.js";import"../../../../icons/customIcons/icons/Radius.js";import"../../../../icons/customIcons/icons/ErrorOps.js";import"../../../../icons/customIcons/icons/DataTypeOps.js";import"../../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../../icons/customIcons/icons/CalibrationOps.js";import"../../../../icons/customIcons/icons/CriticalOps.js";import"../../../../icons/customIcons/icons/Company.js";import"../../../../icons/customIcons/icons/ArchiveOne.js";import"../../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../../icons/customIcons/icons/Connect.js";import"../../../../icons/customIcons/icons/PuzzleOne.js";import"../../../../icons/customIcons/icons/Feed.js";import"../../../../icons/customIcons/icons/Prompt.js";import"../../../../icons/customIcons/icons/Companies.js";import"../../../../icons/customIcons/icons/ClipboardAi.js";import"../../../../icons/customIcons/icons/Key.js";import"../../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../../icons/customIcons/icons/MappingManual.js";import"../../../../icons/customIcons/icons/Mapping.js";import"../../../../icons/customIcons/icons/Metrics.js";import"../../../../icons/customIcons/icons/Drops.js";import"../../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../../icons/customIcons/icons/Template.js";import"../../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../../icons/customIcons/icons/UnitConversion.js";import"../../../../icons/customIcons/icons/NPT.js";import"../../../../icons/customIcons/icons/GuidedFrac.js";import"../../../../utils/mobileDetect.js";import"../../../IconButton/index.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"../../../../constants/corvaCompanyId.js";import"../../../GradientManager/configuration/constants.js";import"@babel/runtime/helpers/slicedToArray";import"uuid";import"../../../IconMenu/index.js";import"../../../StyledMenuItem/index.js";import"../../../AppIcon/AppIcon.js";import"../../../DevCenter/AppHeader/AppHeader.js";import"../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@material-ui/icons";import"../../../DevCenter/AppContext.js";import"../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"query-string";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../utils/index.js";import"../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../componentsV2/Text/Text.js";import"../../../../componentsV2/Grid/Grid.js";import"../../../../componentsV2/Grid/Cell.js";import"../../../../componentsV2/Header/Header.scss.js";import"../../../../componentsV2/Button/Button.js";import"../../../../componentsV2/ButtonIcon/ButtonIcon.js";import"../../../../componentsV2/Tooltip/Tooltip.scss.js";import"../../../../componentsV2/Popover/Popover.js";import"../../../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../../../componentsV2/Radio/Radio.js";import"../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../componentsV2/Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../../../../componentsV2/TextInput/TextInput.js";import"../../../../componentsV2/TextInputNext/TextInputNext.js";import"../../../../componentsV2/Label/Label.js";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/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../componentsV2/Paper/Paper.js";import"../../../../componentsV2/ModalWindow/ModalWindow.js";import{Modal as A}from"../../../../componentsV2/Modal/Modal.js";import"../../../../componentsV2/Menu/Menu.js";import"../../../../componentsV2/utils.js";import"../../../../componentsV2/Hint/Hint.scss.js";import"../../../../componentsV2/Counter/Counter.js";import"../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../../../componentsV2/TemplatesControl/utils.js";import"../../../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../../../componentsV2/TemplatesControl/Store/utils.js";import"../../../../componentsV2/TemplatesControl/types.js";import"../../../../clients/jsonApi/index.js";import"../../../../permissions/PermissionsContext.js";import"../../../../permissions/constants/index.js";import"../../../../permissions/withPermissionsHOC.js";import"../../../../permissions/ProvidePermissions.js";import"../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../componentsV2/LoaderLogo/LoaderLogo.constants.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"../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"file-extension";import"image-extensions";import"video-extensions";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/ButtonText/ButtonText.js";import"../../../../componentsV2/IndicatorLive/IndicatorLive.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"immutable";import"../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../PadModeSelect/PadModeSelect.js";import"../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../constants/streamSourceType.js";import"../../../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.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"../../../../utils/getSingleAsset.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/constants.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"../../../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../../../clients/subscriptions.v1.js";import"../../../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../../../utils/env.js";import"../../../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../../../clients/api/apiCore.js";import"../../../../clients/constants.js";import"../../../../clients/sso/auth0.js";import"../../../../clients/sso/oauth2.js";import"../../../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../componentsV2/AppSettings/AppSettings.js";import"../../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.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.js";import"../../../../componentsV2/Autocomplete/Autocomplete.js";import"../../../../componentsV2/Select/Select.js";import"../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../componentsV2/Slider/constants.js";import"../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../componentsV2/Slider/Slider.scss.js";import"react-color";import"../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../../../componentsV2/ChartHelper/ChartHelper.scss.js";import"../../../../componentsV2/Hotkey/Hotkey.js";import"../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.scss.js";import"../../../Icons/AnnotationIcon.js";import"../../../Annotations/components/AnnotationsList/index.js";import"../../../Annotations/components/LastAnnotation/index.js";import"../../../Annotations/AnnotationsContext.js";import"../../../Toaster/Toaster.js";import"../../../HelpCenter/HelpCenterIcon.js";import"../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../DevCenter/SideBar/SideBar.js";import"../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../AssetEditor/index.js";import"../../../AssetEditorV2/index.js";import"../../../AppVersionsSelect/AppVersionsSelect.js";import S from"../../../LoadingIndicator/LoadingIndicator.js";import"../../../Typography.js";import"../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../CollapsableSidebar.js";import"../../../DateTimePicker/index.js";import"../../../DatePicker/index.js";import"../../../ErrorBoundary/ErrorBoundary.js";import"../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../SlateFormattedText/SlateFormattedText.js";import"../../../SlateFormattedText/RenderElements.js";import"slate";import"../../../EmptyState/EmptyState.js";import"../../../ParameterCharts/ParameterCharts.js";import"../../../ParameterCharts/AddEditTrack.js";import"../../../ChartActionsList/ChartActionsList.js";import"../../../CopyToClipboard/CopyToClipboard.js";import"../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../AssetEditor/SingleAssetEditor.js";import"../../../SettingEditors/ColorEditor/style.css.js";import"../../../SettingEditors/DropdownEditor/index.js";import"../../../SwitchControl/index.js";import"../../../ColorPicker/ColorPicker.js";import"../../../Chart/components/ChartButton.js";import"../../../Chart/components/ChartButtons.js";import"../../../Chart/components/ChartWrapper.js";import"../../../Chart/components/AxisDropdown.js";import"../../../Chart/components/ChartSelect.js";import"../../../Chart/components/buttons/DragToZoomButton.js";import"../../../Chart/components/buttons/ZoomInButton.js";import"../../../Chart/components/buttons/ZoomOutButton.js";import"../../../Chart/components/buttons/PanButton.js";import"../../../Chart/components/buttons/ResetZoomButton.js";import"../../../Chart/components/buttons/HideAxesButton.js";import"../../../Chart/components/buttons/ChartTypeButton.js";import"../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../TruncatedText/index.js";import"../../../MiddleTruncatedText/MiddleTruncatedText.js";import"../../../RangeSlider/constants.js";import"../../../RangeSlider/Input.css.js";import"../../../RangeSlider/RangeSlider.css.js";import"../../../AdvancedSlider/AdvancedSlider.js";import"../../../Breadcrumbs/index.js";import"../../../VirtualizedTable/index.js";import"../../../EmptyView/EmptyView.js";import"../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../Button/components/Button/index.js";import"moment-timezone";import"../../../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../../../Button/components/LiveButton/styles.js";import"../../../ContextMenuItem/index.js";import"../../../FolderMenuItem/index.js";import"../../../EditableItem/EditableItem/index.js";import"../../../EditableItem/EditableItemWithBadge/index.js";import"../../../Checkbox/index.js";import"../../../FolderMenuItemWithLinks/index.js";import"../../../TextField/index.js";import"../../../Chip/index.js";import"../../../Counter/index.js";import"../../../AnchorsList/AnchorsList.js";import"../../../Select/index.js";import"../../../Select/SelectFilterBy.js";import"../../../CustomSelect/index.js";import"../../../Tabs/Tabs.js";import"../../../Tabs/Tab.js";import"../../../ResizableTable/ResizableTable.js";import"../../../GradientPicker/GradientPicker.js";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"@material-ui/icons/AddCircle";import"../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../GradientManager/GradientSelect.styles.js";import"../../../GradientManager/GradientManager.styles.js";import"../../../Drillstring/BHASchematic.js";import"../../../Drillstring/BHATable/index.js";import"../../../Drillstring/BHAComponentIcon.js";import"../../../Drillstring/BHAComponentDetail/index.js";import"../../../Drillstring/BHATileIcon.js";import"../../../Drillstring/BHATile/BHATile.js";import"../../../Drillstring/BHAList/BHAList.js";import"../../../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../../../Casing/CasingTable/index.js";import"../../../Casing/CasingComponentIcon.js";import"../../../Casing/CasingTileIcon.js";import"../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../Casing/CasingTile/CasingTile.js";import"../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../WellSummary/WellSummaryItemLabel.js";import"../../../WellSummary/WellSummaryItemTitle.js";import"../../../WellSummary/WellSummaryItemValue.js";import"../../../WellSummary/ActivitySummaryChart.js";import"../../../WellSummary/FracWirelineTimeChart.js";import"../../../BICOffsetPickerDialog/index.js";import"../../../OffsetWellButton/OffsetWellButton.js";import"../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../OffsetWellPickerV3/index.js";import"../../../OffsetWellChips/Chip.js";import"../../../OffsetWellChips/ChipsContainer.js";import"../OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js";import"../../../OffsetWellMap/OffsetWellMap.js";import"../../../ConfirmationDialog.js";import"../../../TextLink/index.js";import"../../../Avatar/index.js";import"../../../Template/TemplatePopover/index.js";import"../../../Template/TemplateSharingDialog/index.js";import"../../../MenuItem/index.js";import"../../../MiddleTruncate/MiddleTruncate.js";import"../../../PinnableFilters/PinnableFilters.js";import"../../../HeaderLayout/HeaderLayout.js";import"../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../PadOffsetsPicker/StagesSelector.js";import"../../../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../../../Table/TableToolbar/TableToolbar.js";import"../../../Table/TableContainer/TableContainer.js";import"../../../Table/TableCell/TableCell.js";import"../../../Table/TablePagination/TablePagination.js";import"../../../Table/TablePaginationActions/TablePaginationActions.js";import"../../../Tooltip/ScrollableTooltip.js";import"../../../PriceInput/PriceInput.js";import"../../../LabelsCounter/LabelsCounter.js";import"../../../Stepper/Stepper.js";import"../../../Stepper/Step/Step.js";import"../../../Stepper/StepsWrapper.js";import"../../../Comment/CommentIcon/index.js";import"../../../FilesLoader/FilesLoader.js";import"../../../../componentsV2/FileIcon/icons/ArchiveFileIcon.js";import"../../../../componentsV2/FileIcon/icons/CSVFileIcon.js";import"../../../../componentsV2/FileIcon/icons/DocFileIcon.js";import"../../../../componentsV2/FileIcon/icons/EDMFileIcon.js";import"../../../../componentsV2/FileIcon/icons/ExcelFileIcon.js";import"../../../../componentsV2/FileIcon/icons/ImageFileIcon.js";import"../../../../componentsV2/FileIcon/icons/JsonFileIcon.js";import"../../../../componentsV2/FileIcon/icons/LasFileIcon.js";import"../../../../componentsV2/FileIcon/icons/OtherFileIcon.js";import"../../../../componentsV2/FileIcon/icons/PdfFileIcon.js";import"../../../../componentsV2/FileIcon/icons/PowerPointFileIcon.js";import"../../../../componentsV2/FileIcon/icons/TxtFileIcon.js";import"../../../../componentsV2/FileIcon/icons/UnknownFileIcon.js";import"../../../../componentsV2/FileIcon/icons/VideoFileIcon.js";import"../../../../componentsV2/FileIcon/icons/XmlFileIcon.js";import"../../../SearchInput/index.js";import"../../../FeedItem/FeedItem.js";import"../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../PostInput/PostInput.js";import"../../../KeyboardDateTimePicker.js";import"../../../AddComment/Popover.js";import"../../../AddComment/Popup.js";import"../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../StageDesignVActual/ComparisonHeader.js";import"../../../StageDesignVActual/ComparisonRow.js";import"../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../EmbeddedApp/EmbeddedApp.js";import"../../../Autocomplete/Autocomplete.js";import"../../../DocumentViewer/DocumentViewer.js";import"../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../Search/Search.js";import"../../../Search/components/Listbox.js";import"../../../Search/components/Paper.js";import"../../../Search/components/RecentSearches.js";import"../../../Search/components/Groups.js";import"../../../Search/components/SelectAllListItem.js";import"../../../StatusBadge/index.js";import"../../../Attachment/index.js";import"../../../EmojiIconButton.js";import"../../../FileUploadIconButton.js";import"../../../FilePreview/index.js";import"../../../FailedFileUploading.js";import"../../../UserMention/index.js";import"../../../CommentsInfo/index.js";import"../../../CommentInput/index.js";import"../../../Comment/index.js";import"../../../CommentLoader.js";import"../../../AssetNameLabel/AssetStatusBadge.js";import"../../../AssetEditorV2/components/PrimaryAssetSelect.js";import"../../../AssetEditorV2/components/SecondaryAssetSelect.js";import"../../../AssetEditorV2/components/SelectItem.js";import"../../../AssetEditorV2/components/MultipleAssetsToggle.js";import"../../../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../../../EChartsWrapper/EChartsWrapper.js";import"../../../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../../../GoogleDocsViewer/index.js";import"../../../NewDocumentViewer/effects/useFileContent.js";import"../../../NewDocumentViewer/styles.js";import"../../../FilesLoaderV2/styles.js";import"../../../FilesDropzone/styles.js";import"../../../FilesProcessor/styles.js";import"../../../Hint/styles.js";import"@babel/runtime/helpers/taggedTemplateLiteral";import"fparser";import"../../../Formula/useFormulaStyles.js";import"../../../Formula/RootXIcon.js";import"../../../Formula/FormulaTextEditor.js";import"../../../Formula/CloseSuggestion.js";import"../../../Formula/SuggestionsMenu.js";var V=C,I=function(C){var I,h=C.open,g=C.isMobile,v=C.isViewOnly,f=C.isMapHidden,b=C.isFilterExpanded,D=C.isVScrollMoved,P=C.isHScrollMoved,T=C.isLoading,x=C.isTableFullLoading,F=C.isResetVisible,B=C.isOffsetSourceKnown,y=C.hasOffsetSource,W=C.hasSavedHandpicked,M=C.isSynced,L=C.isLimitedOffsetWells,k=C.isWellSectionColumnVisible,H=C.isAllWellsSelected,O=C.indeterminate,E=C.isXtoProvider,w=C.hasValidAssetId,R=C.syncedOffsetLabel,N=C.savedOffsetLabel,G=C.resetTooltipLabel,q=C.maxOffsetWellNumber,z=C.subjectWell,U=C.subjectWellId,K=C.selectedWells,Z=C.selectedWellIds,X=C.selectedWellsCount,J=C.selectedWellSection,Q=C.filteredWells,Y=C.wellsToDisplay,$=C.sortedWells,_=C.tableWells,oo=C.tableRowsCount,eo=C.wellSections,to=C.metricsKeys,so=C.setMetricsKeys,io=C.columnsWithDict,no=C.taScores,ro=C.filterOptions,po=C.loadingWellIds,mo=C.loadingAssetIds,co=C.filters,lo=C.currentSelectionZone,ao=C.activeWellId,jo=C.sortBy,uo=C.setSortBy,Co=C.sortDirection,Ao=C.setSortDirection,So=C.shouldRecenter,Vo=C.wells,Io=C.handleCancel,ho=C.handleSave,go=C.handleReset,vo=C.handleChangeOffsetWell,fo=C.handleBatchSelectWells,bo=C.handleChangeAllOffsetWells,Do=C.handleSelectionZoneConfirm,Po=C.handleChangeWellSection,To=C.handleAddRemoveAssets,xo=C.handleScroll,Fo=C.setActiveWellId,Bo=C.setShouldRecenter,yo=C.setIsAdvancedSearchHidden,Wo=C.wellsMapRef,Mo=C.contentRef,Lo=C.rightColumnRef,ko=C.containerRef,Ho=C.isAnimatingRef,Oo=d(),Eo=Oo.ref,wo=Oo.width,Ro=i((function(){return Vo?p(Vo,"id").length:0}),[Vo]),No=n((function(o){so(o)}),[so]);return e(A,{open:!!h,onClose:Io,size:"fullscreen",className:j.modalDialog,title:e(m,{totalCount:Ro,filteredCount:null!==(I=null==Q?void 0:Q.length)&&void 0!==I?I:0,selectedCount:X,maxOffsetWellNumber:q,isXtoProvider:E,metricsKeys:to,onChangeMetricsKeys:No}),actions:!v&&e(c,{isLoading:T,isResetVisible:F,isOffsetSourceKnown:B,hasOffsetSource:y,isSynced:M,isMobile:g,hasValidAssetId:w,syncedOffsetLabel:R,resetTooltipLabel:G,selectedWellsCount:X,handleCancel:Io,handleSave:ho,handleReset:go}),children:t("div",{className:r(j.offsetWellDialog),children:[e(u,{}),T?e(S,{}):t("div",{className:r(j.contentWrapper,o({},j.contentBlocked,x)),children:[t("div",{className:j.columnsContainer,ref:Eo,children:[e(l,{isMapHidden:f,open:h,subjectWell:z,selectedWells:K,wellsToDisplay:Y,handleChangeOffsetWell:vo,handleBatchSelectWells:fo,activeWellId:ao,currentSelectionZone:lo,handleSelectionZoneConfirm:Do,shouldRecenter:So,setShouldRecenter:Bo,wellsMapRef:Wo,containerWidth:wo}),e(a,{isMobile:g,isViewOnly:v,isFilterExpanded:b,isVScrollMoved:D,isHScrollMoved:P,isTableFullLoading:x,isLimitedOffsetWells:L,isWellSectionColumnVisible:k,isAllWellsSelected:H,indeterminate:O,subjectWellId:U,selectedWellIds:Z,selectedWellSection:J,sortedWells:$,tableWells:_,tableRowsCount:oo,wellSections:eo,metricsKeys:to,setMetricsKeys:so,columnsWithDict:io,taScores:no,filterOptions:ro,loadingWellIds:po,loadingAssetIds:mo,filters:co,sortBy:jo,setSortBy:uo,sortDirection:Co,setSortDirection:Ao,maxOffsetWellNumber:q,handleChangeOffsetWell:vo,handleChangeAllOffsetWells:bo,handleChangeWellSection:Po,handleAddRemoveAssets:To,handleScroll:xo,setActiveWellId:Fo,setIsAdvancedSearchHidden:yo,wellsMapRef:Wo,contentRef:Mo,rightColumnRef:Lo,containerRef:ko,isAnimatingRef:Ho})]}),v&&w&&y&&B&&e("div",{className:j.viewOnlyInfoContainer,children:t(s,W?{children:[e("span",{className:r(V.regular12,V.colors.t6),children:"Last saved offsets from "}),e("span",{className:r(V.medium12,V.colors.t6),children:N.endsWith(".")?N.slice(0,-1):N}),e("span",{className:r(V.regular12,V.colors.t6),children:" with manual picks."})]}:{children:[e("span",{className:r(V.regular12,V.colors.t6),children:"The offset list is being automatically populated by "}),e("span",{className:r(V.medium12,V.colors.t6),children:N})]})})]})]})})};export{I as OffsetWellPickerContent};
|
|
1
|
+
import o from"@babel/runtime/helpers/defineProperty";import{jsx as e,jsxs as t,Fragment as s}from"react/jsx-runtime";import{useMemo as i,useCallback as n}from"react";import r from"classnames";import{uniqBy as p}from"lodash";import{AppHeader as m}from"../AppHeader/AppHeader.js";import{PickerModalActions as c}from"../PickerModalActions/PickerModalActions.js";import{MapColumn as l}from"../MapColumn/MapColumn.js";import{TableSection as a}from"../TableSection/TableSection.js";import{useElementSize as d}from"../../hooks/useElementSize.js";import j from"../../OffsetWellPickerV5.module.css.js";import"@material-ui/core/Snackbar";import"../../../Notifications/Toast.js";import"../../../Notifications/Notifications.scss.js";import{NotificationsContainer as u}from"../../../Notifications/NotificationsContainer.js";import C from"../../../../styles/typography/index.js";import"../../../../styles/counter/counter.module.scss.js";import"../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"@babel/runtime/helpers/objectWithoutProperties";import"@material-ui/core";import"../../../Modal/CorvaModal.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/SearchOne.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/Global.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"../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../icons/customIcons/icons/Lasso.js";import"../../../../icons/customIcons/icons/Radius.js";import"../../../../icons/customIcons/icons/ErrorOps.js";import"../../../../icons/customIcons/icons/DataTypeOps.js";import"../../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../../icons/customIcons/icons/CalibrationOps.js";import"../../../../icons/customIcons/icons/CriticalOps.js";import"../../../../icons/customIcons/icons/Company.js";import"../../../../icons/customIcons/icons/ArchiveOne.js";import"../../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../../icons/customIcons/icons/Connect.js";import"../../../../icons/customIcons/icons/PuzzleOne.js";import"../../../../icons/customIcons/icons/Feed.js";import"../../../../icons/customIcons/icons/Prompt.js";import"../../../../icons/customIcons/icons/Companies.js";import"../../../../icons/customIcons/icons/ClipboardAi.js";import"../../../../icons/customIcons/icons/Key.js";import"../../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../../icons/customIcons/icons/MappingManual.js";import"../../../../icons/customIcons/icons/Mapping.js";import"../../../../icons/customIcons/icons/Metrics.js";import"../../../../icons/customIcons/icons/Drops.js";import"../../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../../icons/customIcons/icons/Template.js";import"../../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../../icons/customIcons/icons/UnitConversion.js";import"../../../../icons/customIcons/icons/NPT.js";import"../../../../icons/customIcons/icons/GuidedFrac.js";import"../../../../utils/mobileDetect.js";import"../../../IconButton/index.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"../../../../constants/corvaCompanyId.js";import"../../../GradientManager/configuration/constants.js";import"@babel/runtime/helpers/slicedToArray";import"uuid";import"../../../IconMenu/index.js";import"../../../StyledMenuItem/index.js";import"../../../AppIcon/AppIcon.js";import"../../../DevCenter/AppHeader/AppHeader.js";import"../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@material-ui/icons";import"../../../DevCenter/AppContext.js";import"../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"query-string";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../utils/index.js";import"../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../componentsV2/Text/Text.js";import"../../../../componentsV2/Grid/Grid.js";import"../../../../componentsV2/Grid/Cell.js";import"../../../../componentsV2/Header/Header.scss.js";import"../../../../componentsV2/Button/Button.js";import"../../../../componentsV2/ButtonIcon/ButtonIcon.js";import"../../../../componentsV2/Tooltip/Tooltip.scss.js";import"../../../../componentsV2/Popover/Popover.js";import"../../../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../../../componentsV2/Radio/Radio.js";import"../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../componentsV2/Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../../../../componentsV2/TextInput/TextInput.js";import"../../../../componentsV2/TextInputNext/TextInputNext.js";import"../../../../componentsV2/Label/Label.js";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/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../componentsV2/Paper/Paper.js";import"../../../../componentsV2/ModalWindow/ModalWindow.js";import{Modal as A}from"../../../../componentsV2/Modal/Modal.js";import"../../../../componentsV2/Menu/Menu.js";import"../../../../componentsV2/utils.js";import"../../../../componentsV2/Hint/Hint.scss.js";import"../../../../componentsV2/Counter/Counter.js";import"../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../../../componentsV2/TemplatesControl/utils.js";import"../../../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../../../componentsV2/TemplatesControl/Store/utils.js";import"../../../../componentsV2/TemplatesControl/types.js";import"../../../../clients/jsonApi/index.js";import"../../../../permissions/PermissionsContext.js";import"../../../../permissions/constants/index.js";import"../../../../permissions/withPermissionsHOC.js";import"../../../../permissions/ProvidePermissions.js";import"../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../componentsV2/LoaderLogo/LoaderLogo.constants.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"../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"file-extension";import"image-extensions";import"video-extensions";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/ButtonText/ButtonText.js";import"../../../../componentsV2/IndicatorLive/IndicatorLive.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"immutable";import"../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../PadModeSelect/PadModeSelect.js";import"../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../constants/streamSourceType.js";import"../../../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.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"../../../../utils/getSingleAsset.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/constants.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"../../../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../../../clients/subscriptions.v1.js";import"../../../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../../../utils/env.js";import"../../../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../../../clients/api/apiCore.js";import"../../../../clients/constants.js";import"../../../../clients/sso/auth0.js";import"../../../../clients/sso/oauth2.js";import"../../../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../componentsV2/AppSettings/AppSettings.js";import"../../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.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.js";import"../../../../componentsV2/Autocomplete/Autocomplete.js";import"../../../../componentsV2/Select/Select.js";import"../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../componentsV2/Slider/constants.js";import"../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../componentsV2/Slider/Slider.scss.js";import"react-color";import"../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../../../componentsV2/ChartHelper/ChartHelper.scss.js";import"../../../../componentsV2/Hotkey/Hotkey.js";import"../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.scss.js";import"../../../Icons/AnnotationIcon.js";import"../../../Annotations/components/AnnotationsList/index.js";import"../../../Annotations/components/LastAnnotation/index.js";import"../../../Annotations/AnnotationsContext.js";import"../../../Toaster/Toaster.js";import"../../../HelpCenter/HelpCenterIcon.js";import"../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../DevCenter/SideBar/SideBar.js";import"../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../AssetEditor/index.js";import"../../../AssetEditorV2/index.js";import"../../../AppVersionsSelect/AppVersionsSelect.js";import S from"../../../LoadingIndicator/LoadingIndicator.js";import"../../../Typography.js";import"../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../CollapsableSidebar.js";import"../../../DateTimePicker/index.js";import"../../../DatePicker/index.js";import"../../../ErrorBoundary/ErrorBoundary.js";import"../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../SlateFormattedText/SlateFormattedText.js";import"../../../SlateFormattedText/RenderElements.js";import"slate";import"../../../EmptyState/EmptyState.js";import"../../../ParameterCharts/ParameterCharts.js";import"../../../ParameterCharts/AddEditTrack.js";import"../../../ChartActionsList/ChartActionsList.js";import"../../../CopyToClipboard/CopyToClipboard.js";import"../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../AssetEditor/SingleAssetEditor.js";import"../../../SettingEditors/ColorEditor/style.css.js";import"../../../SettingEditors/DropdownEditor/index.js";import"../../../SwitchControl/index.js";import"../../../ColorPicker/ColorPicker.js";import"../../../Chart/components/ChartButton.js";import"../../../Chart/components/ChartButtons.js";import"../../../Chart/components/ChartWrapper.js";import"../../../Chart/components/AxisDropdown.js";import"../../../Chart/components/ChartSelect.js";import"../../../Chart/components/buttons/DragToZoomButton.js";import"../../../Chart/components/buttons/ZoomInButton.js";import"../../../Chart/components/buttons/ZoomOutButton.js";import"../../../Chart/components/buttons/PanButton.js";import"../../../Chart/components/buttons/ResetZoomButton.js";import"../../../Chart/components/buttons/HideAxesButton.js";import"../../../Chart/components/buttons/ChartTypeButton.js";import"../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../TruncatedText/index.js";import"../../../MiddleTruncatedText/MiddleTruncatedText.js";import"../../../RangeSlider/constants.js";import"../../../RangeSlider/Input.css.js";import"../../../RangeSlider/RangeSlider.css.js";import"../../../AdvancedSlider/AdvancedSlider.js";import"../../../Breadcrumbs/index.js";import"../../../VirtualizedTable/index.js";import"../../../EmptyView/EmptyView.js";import"../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../Button/components/Button/index.js";import"moment-timezone";import"../../../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../../../Button/components/LiveButton/styles.js";import"../../../ContextMenuItem/index.js";import"../../../FolderMenuItem/index.js";import"../../../EditableItem/EditableItem/index.js";import"../../../EditableItem/EditableItemWithBadge/index.js";import"../../../Checkbox/index.js";import"../../../FolderMenuItemWithLinks/index.js";import"../../../TextField/index.js";import"../../../Chip/index.js";import"../../../Counter/index.js";import"../../../AnchorsList/AnchorsList.js";import"../../../Select/index.js";import"../../../Select/SelectFilterBy.js";import"../../../CustomSelect/index.js";import"../../../Tabs/Tabs.js";import"../../../Tabs/Tab.js";import"../../../ResizableTable/ResizableTable.js";import"../../../GradientPicker/GradientPicker.js";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"@material-ui/icons/AddCircle";import"../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../GradientManager/GradientSelect.styles.js";import"../../../GradientManager/GradientManager.styles.js";import"../../../Drillstring/BHASchematic.js";import"../../../Drillstring/BHATable/index.js";import"../../../Drillstring/BHAComponentIcon.js";import"../../../Drillstring/BHAComponentDetail/index.js";import"../../../Drillstring/BHATileIcon.js";import"../../../Drillstring/BHATile/BHATile.js";import"../../../Drillstring/BHAList/BHAList.js";import"../../../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../../../Casing/CasingTable/index.js";import"../../../Casing/CasingComponentIcon.js";import"../../../Casing/CasingTileIcon.js";import"../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../Casing/CasingTile/CasingTile.js";import"../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../WellSummary/WellSummaryItemLabel.js";import"../../../WellSummary/WellSummaryItemTitle.js";import"../../../WellSummary/WellSummaryItemValue.js";import"../../../WellSummary/ActivitySummaryChart.js";import"../../../WellSummary/FracWirelineTimeChart.js";import"../../../BICOffsetPickerDialog/index.js";import"../../../OffsetWellButton/OffsetWellButton.js";import"../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../OffsetWellPickerV3/index.js";import"../../../OffsetWellChips/Chip.js";import"../../../OffsetWellChips/ChipsContainer.js";import"../OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js";import"../../../OffsetWellMap/OffsetWellMap.js";import"../../../ConfirmationDialog.js";import"../../../TextLink/index.js";import"../../../Avatar/index.js";import"../../../Template/TemplatePopover/index.js";import"../../../Template/TemplateSharingDialog/index.js";import"../../../MenuItem/index.js";import"../../../MiddleTruncate/MiddleTruncate.js";import"../../../PinnableFilters/PinnableFilters.js";import"../../../HeaderLayout/HeaderLayout.js";import"../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../PadOffsetsPicker/StagesSelector.js";import"../../../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../../../Table/TableToolbar/TableToolbar.js";import"../../../Table/TableContainer/TableContainer.js";import"../../../Table/TableCell/TableCell.js";import"../../../Table/TablePagination/TablePagination.js";import"../../../Table/TablePaginationActions/TablePaginationActions.js";import"../../../Tooltip/ScrollableTooltip.js";import"../../../PriceInput/PriceInput.js";import"../../../LabelsCounter/LabelsCounter.js";import"../../../Stepper/Stepper.js";import"../../../Stepper/Step/Step.js";import"../../../Stepper/StepsWrapper.js";import"../../../Comment/CommentIcon/index.js";import"../../../FilesLoader/FilesLoader.js";import"../../../../componentsV2/FileIcon/icons/ArchiveFileIcon.js";import"../../../../componentsV2/FileIcon/icons/CSVFileIcon.js";import"../../../../componentsV2/FileIcon/icons/DocFileIcon.js";import"../../../../componentsV2/FileIcon/icons/EDMFileIcon.js";import"../../../../componentsV2/FileIcon/icons/ExcelFileIcon.js";import"../../../../componentsV2/FileIcon/icons/ImageFileIcon.js";import"../../../../componentsV2/FileIcon/icons/JsonFileIcon.js";import"../../../../componentsV2/FileIcon/icons/LasFileIcon.js";import"../../../../componentsV2/FileIcon/icons/OtherFileIcon.js";import"../../../../componentsV2/FileIcon/icons/PdfFileIcon.js";import"../../../../componentsV2/FileIcon/icons/PowerPointFileIcon.js";import"../../../../componentsV2/FileIcon/icons/TxtFileIcon.js";import"../../../../componentsV2/FileIcon/icons/UnknownFileIcon.js";import"../../../../componentsV2/FileIcon/icons/VideoFileIcon.js";import"../../../../componentsV2/FileIcon/icons/XmlFileIcon.js";import"../../../SearchInput/index.js";import"../../../FeedItem/FeedItem.js";import"../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../PostInput/PostInput.js";import"../../../KeyboardDateTimePicker.js";import"../../../AddComment/Popover.js";import"../../../AddComment/Popup.js";import"../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../StageDesignVActual/ComparisonHeader.js";import"../../../StageDesignVActual/ComparisonRow.js";import"../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../EmbeddedApp/EmbeddedApp.js";import"../../../Autocomplete/Autocomplete.js";import"../../../DocumentViewer/DocumentViewer.js";import"../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../Search/Search.js";import"../../../Search/components/Listbox.js";import"../../../Search/components/Paper.js";import"../../../Search/components/RecentSearches.js";import"../../../Search/components/Groups.js";import"../../../Search/components/SelectAllListItem.js";import"../../../StatusBadge/index.js";import"../../../Attachment/index.js";import"../../../EmojiIconButton.js";import"../../../FileUploadIconButton.js";import"../../../FilePreview/index.js";import"../../../FailedFileUploading.js";import"../../../UserMention/index.js";import"../../../CommentsInfo/index.js";import"../../../CommentInput/index.js";import"../../../Comment/index.js";import"../../../CommentLoader.js";import"../../../AssetNameLabel/AssetStatusBadge.js";import"../../../AssetEditorV2/components/PrimaryAssetSelect.js";import"../../../AssetEditorV2/components/SecondaryAssetSelect.js";import"../../../AssetEditorV2/components/SelectItem.js";import"../../../AssetEditorV2/components/MultipleAssetsToggle.js";import"../../../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../../../EChartsWrapper/EChartsWrapper.js";import"../../../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../../../GoogleDocsViewer/index.js";import"../../../NewDocumentViewer/effects/useFileContent.js";import"../../../NewDocumentViewer/styles.js";import"../../../FilesLoaderV2/styles.js";import"../../../FilesDropzone/styles.js";import"../../../FilesProcessor/styles.js";import"../../../Hint/styles.js";import"@babel/runtime/helpers/taggedTemplateLiteral";import"fparser";import"../../../Formula/useFormulaStyles.js";import"../../../Formula/RootXIcon.js";import"../../../Formula/FormulaTextEditor.js";import"../../../Formula/CloseSuggestion.js";import"../../../Formula/SuggestionsMenu.js";var I=C,V=function(C){var V,h=C.open,g=C.isMobile,v=C.isViewOnly,f=C.isMapHidden,b=C.isFilterExpanded,D=C.isHScrollMoved,P=C.isLoading,T=C.isTableFullLoading,x=C.isResetVisible,F=C.isOffsetSourceKnown,B=C.hasOffsetSource,y=C.hasSavedHandpicked,W=C.isSynced,M=C.isLimitedOffsetWells,L=C.isWellSectionColumnVisible,k=C.isAllWellsSelected,H=C.indeterminate,O=C.isXtoProvider,E=C.hasValidAssetId,w=C.syncedOffsetLabel,R=C.savedOffsetLabel,N=C.resetTooltipLabel,G=C.maxOffsetWellNumber,q=C.subjectWell,z=C.subjectWellId,U=C.selectedWells,K=C.selectedWellIds,Z=C.selectedWellsCount,X=C.selectedWellSection,J=C.filteredWells,Q=C.wellsToDisplay,Y=C.sortedWells,$=C.tableWells,_=C.tableRowsCount,oo=C.wellSections,eo=C.metricsKeys,to=C.setMetricsKeys,so=C.columnsWithDict,io=C.taScores,no=C.filterOptions,ro=C.loadingWellIds,po=C.loadingAssetIds,mo=C.filters,co=C.currentSelectionZone,lo=C.activeWellId,ao=C.sortBy,jo=C.setSortBy,uo=C.sortDirection,Co=C.setSortDirection,Ao=C.shouldRecenter,So=C.wells,Io=C.handleCancel,Vo=C.handleSave,ho=C.handleReset,go=C.handleChangeOffsetWell,vo=C.handleBatchSelectWells,fo=C.handleChangeAllOffsetWells,bo=C.handleSelectionZoneConfirm,Do=C.handleChangeWellSection,Po=C.handleAddRemoveAssets,To=C.handleScroll,xo=C.setActiveWellId,Fo=C.setShouldRecenter,Bo=C.setIsAdvancedSearchHidden,yo=C.wellsMapRef,Wo=C.contentRef,Mo=C.rightColumnRef,Lo=C.containerRef,ko=C.isAnimatingRef,Ho=d(),Oo=Ho.ref,Eo=Ho.width,wo=i((function(){return So?p(So,"id").length:0}),[So]),Ro=n((function(o){to(o)}),[to]);return e(A,{open:!!h,onClose:Io,size:"fullscreen",className:j.modalDialog,title:e(m,{totalCount:wo,filteredCount:null!==(V=null==J?void 0:J.length)&&void 0!==V?V:0,selectedCount:Z,maxOffsetWellNumber:G,isXtoProvider:O,metricsKeys:eo,onChangeMetricsKeys:Ro}),actions:!v&&e(c,{isLoading:P,isResetVisible:x,isOffsetSourceKnown:F,hasOffsetSource:B,isSynced:W,isMobile:g,hasValidAssetId:E,syncedOffsetLabel:w,resetTooltipLabel:N,selectedWellsCount:Z,handleCancel:Io,handleSave:Vo,handleReset:ho}),children:t("div",{className:r(j.offsetWellDialog),children:[e(u,{}),P?e(S,{}):t("div",{className:r(j.contentWrapper,o({},j.contentBlocked,T)),children:[t("div",{className:j.columnsContainer,ref:Oo,children:[e(l,{isMapHidden:f,open:h,subjectWell:q,selectedWells:U,wellsToDisplay:Q,handleChangeOffsetWell:go,handleBatchSelectWells:vo,activeWellId:lo,currentSelectionZone:co,handleSelectionZoneConfirm:bo,shouldRecenter:Ao,setShouldRecenter:Fo,wellsMapRef:yo,containerWidth:Eo}),e(a,{isMobile:g,isViewOnly:v,isFilterExpanded:b,isHScrollMoved:D,isTableFullLoading:T,isLimitedOffsetWells:M,isWellSectionColumnVisible:L,isAllWellsSelected:k,indeterminate:H,subjectWellId:z,selectedWellIds:K,selectedWellSection:X,sortedWells:Y,tableWells:$,tableRowsCount:_,wellSections:oo,metricsKeys:eo,setMetricsKeys:to,columnsWithDict:so,taScores:io,filterOptions:no,loadingWellIds:ro,loadingAssetIds:po,filters:mo,sortBy:ao,setSortBy:jo,sortDirection:uo,setSortDirection:Co,maxOffsetWellNumber:G,handleChangeOffsetWell:go,handleChangeAllOffsetWells:fo,handleChangeWellSection:Do,handleAddRemoveAssets:Po,handleScroll:To,setActiveWellId:xo,setIsAdvancedSearchHidden:Bo,wellsMapRef:yo,contentRef:Wo,rightColumnRef:Mo,containerRef:Lo,isAnimatingRef:ko})]}),v&&E&&B&&F&&e("div",{className:j.viewOnlyInfoContainer,children:t(s,y?{children:[e("span",{className:r(I.regular12,I.colors.t6),children:"Last saved offsets from "}),e("span",{className:r(I.medium12,I.colors.t6),children:R.endsWith(".")?R.slice(0,-1):R}),e("span",{className:r(I.regular12,I.colors.t6),children:" with manual picks."})]}:{children:[e("span",{className:r(I.regular12,I.colors.t6),children:"The offset list is being automatically populated by "}),e("span",{className:r(I.medium12,I.colors.t6),children:R})]})})]})]})})};export{V as OffsetWellPickerContent};
|
|
2
2
|
//# sourceMappingURL=OffsetWellPickerContent.js.map
|