@corva/ui 0.77.0-1 → 0.77.0-10
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/clients/index.js +1 -1
- package/cjs-bundle/clients/jsonApi/index.js +1 -1
- package/cjs-bundle/clients/sso/auth0.js +1 -0
- package/cjs-bundle/clients/sso/index.js +1 -0
- package/cjs-bundle/clients/sso/oauth2.js +1 -0
- package/cjs-bundle/components/AddComment/Popover.js +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js +1 -1
- package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
- package/cjs-bundle/components/AssetEditor/effects/index.js +1 -1
- package/cjs-bundle/components/AssetEditorV2/effects/index.js +1 -1
- package/cjs-bundle/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js +1 -1
- package/cjs-bundle/components/Attachment/index.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Chart/components/ChartButtons.js +1 -1
- package/cjs-bundle/components/Chart/components/ChartWrapper.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/PanButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js +1 -1
- package/cjs-bundle/components/CollapsableSidebar.js +1 -1
- package/cjs-bundle/components/ColorPicker/ColorPicker.js +1 -1
- package/cjs-bundle/components/DatePicker/index.js +1 -1
- package/cjs-bundle/components/DateTimePicker/index.js +1 -1
- package/cjs-bundle/components/DevCenter/AppHeader/AppHeader.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/cjs-bundle/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
- package/cjs-bundle/components/GradientManager/GradientManager.js +1 -1
- package/cjs-bundle/components/GradientPicker/GradientPicker.js +1 -1
- package/cjs-bundle/components/MenuItem/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.js +1 -1
- package/cjs-bundle/components/Search/styles.js +1 -1
- package/cjs-bundle/components/TextField/effects/index.js +1 -1
- package/cjs-bundle/components/TextField/index.js +1 -1
- package/cjs-bundle/components/TextLink/index.js +1 -1
- package/cjs-bundle/components/TruncatedText/index.js +1 -1
- package/cjs-bundle/config/theme/index.js +1 -1
- package/cjs-bundle/config/theme/tableOverrides.js +1 -1
- package/cjs-bundle/icons/index.js +1 -1
- package/cjs-bundle/permissions/constants/index.js +1 -1
- package/clients/index.d.ts +1 -0
- package/clients/index.d.ts.map +1 -1
- package/clients/index.js +1 -1
- package/clients/jsonApi/index.d.ts +4 -1
- package/clients/jsonApi/index.d.ts.map +1 -1
- package/clients/jsonApi/index.js +1 -1
- package/clients/sso/auth0.d.ts +9 -0
- package/clients/sso/auth0.d.ts.map +1 -0
- package/clients/sso/auth0.js +1 -0
- package/clients/sso/index.d.ts +14 -0
- package/clients/sso/index.d.ts.map +1 -0
- package/clients/sso/index.js +1 -0
- package/clients/sso/oauth2.d.ts +11 -0
- package/clients/sso/oauth2.d.ts.map +1 -0
- package/clients/sso/oauth2.js +1 -0
- package/components/AddComment/Popover.js +1 -1
- package/components/AddComment/components/Content.js +1 -1
- package/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
- package/components/AssetEditor/effects/index.js +1 -1
- package/components/AssetEditorV2/effects/index.js +1 -1
- package/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js +1 -1
- package/components/Attachment/index.js +1 -1
- package/components/BICOffsetPickerDialog/index.js +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/components/Chart/DonutChart/options.d.ts +7 -0
- package/components/Chart/DonutChart/options.d.ts.map +1 -1
- package/components/Chart/components/ChartButtons.d.ts +1 -1
- package/components/Chart/components/ChartButtons.js +1 -1
- package/components/Chart/components/ChartWrapper.d.ts +4 -4
- package/components/Chart/components/ChartWrapper.js +1 -1
- package/components/Chart/components/buttons/ChartTypeButton.d.ts +2 -2
- package/components/Chart/components/buttons/ChartTypeButton.js +1 -1
- package/components/Chart/components/buttons/DragToZoomButton.d.ts +2 -2
- package/components/Chart/components/buttons/DragToZoomButton.js +1 -1
- package/components/Chart/components/buttons/HideAxesButton.d.ts +1 -5
- package/components/Chart/components/buttons/HideAxesButton.d.ts.map +1 -1
- package/components/Chart/components/buttons/HideAxesButton.js +1 -1
- package/components/Chart/components/buttons/PanButton.d.ts +2 -2
- package/components/Chart/components/buttons/PanButton.js +1 -1
- package/components/Chart/components/buttons/ResetZoomButton.d.ts +3 -3
- package/components/Chart/components/buttons/ResetZoomButton.js +1 -1
- package/components/Chart/components/buttons/ZoomInButton.d.ts +1 -1
- package/components/Chart/components/buttons/ZoomInButton.js +1 -1
- package/components/Chart/components/buttons/ZoomOutButton.d.ts +1 -1
- package/components/Chart/components/buttons/ZoomOutButton.js +1 -1
- package/components/CollapsableSidebar.js +1 -1
- package/components/ColorPicker/ColorPicker.d.ts +27 -3
- package/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/components/ColorPicker/ColorPicker.js +1 -1
- package/components/DatePicker/index.d.ts.map +1 -1
- package/components/DatePicker/index.js +1 -1
- package/components/DateTimePicker/index.d.ts.map +1 -1
- package/components/DateTimePicker/index.js +1 -1
- package/components/DevCenter/AppHeader/AppHeader.d.ts +1 -1
- package/components/DevCenter/AppHeader/AppHeader.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
- package/components/DocumentViewer/DocumentViewer.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/sharedStyles.d.ts +1 -1
- package/components/EChartsWrapper/components/Toolbox/Toolbox.d.ts.map +1 -1
- package/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
- package/components/GradientManager/GradientManager.d.ts.map +1 -1
- package/components/GradientManager/GradientManager.js +1 -1
- package/components/GradientManager/GradientSelect.styles.d.ts +1 -1
- package/components/GradientPicker/GradientPicker.d.ts.map +1 -1
- package/components/GradientPicker/GradientPicker.js +1 -1
- package/components/MenuItem/index.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
- package/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
- package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
- package/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
- package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.js +1 -1
- package/components/Search/styles.d.ts.map +1 -1
- package/components/Search/styles.js +1 -1
- package/components/TextField/effects/index.d.ts +2 -2
- package/components/TextField/effects/index.js +1 -1
- package/components/TextField/index.d.ts +18 -39
- package/components/TextField/index.d.ts.map +1 -1
- package/components/TextField/index.js +1 -1
- package/components/TextLink/index.js +1 -1
- package/components/TruncatedText/index.d.ts +3 -3
- package/components/TruncatedText/index.js +1 -1
- package/config/theme/index.d.ts.map +1 -1
- package/config/theme/index.js +1 -1
- package/config/theme/tableOverrides.d.ts +3 -0
- package/config/theme/tableOverrides.js +1 -1
- package/icons/IconPark.stories.d.ts.map +1 -1
- package/icons/index.d.ts +238 -49
- package/icons/index.d.ts.map +1 -1
- package/icons/index.js +1 -1
- package/package.json +2 -1
- package/permissions/constants/index.d.ts +1 -0
- package/permissions/constants/index.d.ts.map +1 -1
- package/permissions/constants/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/slicedToArray"),t=require("react");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(e);exports.useCustomShrink=function(e){var n=e.startIcon,u=e.endIcon,o=e.onFocus,l=e.onBlur,s=e.value,f=e.InputProps,a=t.useState(),i=r.default(a,2),d=i[0],c=i[1],p=t.useState(),v=r.default(p,2),h=v[0],b=v[1],m=t.useState("string"==typeof s&&0!==s.length||"number"==typeof s&&0!==String(s).length||!(null==f||!f.startAdornment)||!1),g=r.default(m,2),y=g[0],A=g[1],I=t.useRef(null),S=t.useRef(null);return t.useEffect((function(){var e,t;c(null===(e=I.current)||void 0===e?void 0:e.offsetWidth),b(null===(t=S.current)||void 0===t?void 0:t.offsetWidth)}),[n,u]),{shrink:y,onInputFocus:function(e){A(!0),o&&o(e)},onInputBlur:function(e){0!==e.target.value.length||null!=f&&f.startAdornment||A(!1),l&&l(e)},
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/slicedToArray"),t=require("react");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(e);exports.useCustomShrink=function(e){var n=e.startIcon,u=e.endIcon,o=e.onFocus,l=e.onBlur,s=e.value,f=e.InputProps,a=t.useState(),i=r.default(a,2),d=i[0],c=i[1],p=t.useState(),v=r.default(p,2),h=v[0],b=v[1],m=t.useState("string"==typeof s&&0!==s.length||"number"==typeof s&&0!==String(s).length||!(null==f||!f.startAdornment)||!1),g=r.default(m,2),y=g[0],A=g[1],I=t.useRef(null),S=t.useRef(null);return t.useEffect((function(){var e,t;c(null===(e=I.current)||void 0===e?void 0:e.offsetWidth),b(null===(t=S.current)||void 0===t?void 0:t.offsetWidth)}),[n,u]),{shrink:y,onInputFocus:function(e){A(!0),o&&o(e)},onInputBlur:function(e){0!==e.target.value.length||null!=f&&f.startAdornment||A(!1),l&&l(e)},startLabelOffset:d,endLabelOffset:h,startAdornmentRef:I,endAdornmentRef:S}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t=require(
|
|
1
|
+
"use strict";var t=require('./../../ext-esm/tslib/tslib.es6.js'),n=require("react/jsx-runtime"),e=require("@material-ui/core"),r=require("./effects/index.js"),o=require("../../config/theme/palette.mjs.js"),s=e.makeStyles((function(t){return{textField:{marginTop:16,marginBottom:8,"& .MuiFormLabel-root":{marginLeft:function(t){return t.startLabelOffset?"".concat(t.startLabelOffset+8,"px"):0},marginRight:function(t){return t.endLabelOffset?"".concat(t.endLabelOffset+8,"px"):0}},"&:hover":{"&.MuiTextField-root .MuiInput-root":{"& .MuiInputAdornment-root svg.MuiSvgIcon-root":{fill:o.primary.contrastText}}},"&.MuiTextField-root .MuiInput-root":{"& .MuiInputAdornment-root svg.MuiSvgIcon-root":{width:16,height:16,fontSize:16,fill:"#DADADA"},"&.Mui-error .MuiInputAdornment-root svg.MuiSvgIcon-root":{fill:"".concat(t.palette.error.main," !important")}},"& .Mui-focused .MuiInputAdornment-root svg.MuiSvgIcon-root":{fill:"".concat(t.palette.primary.main," !important")}},shrunkLabel:{"&.MuiInputLabel-shrink.MuiFormLabel-root":{marginLeft:0}}}}));module.exports=function(o){var i=o.startIcon,u=o.endIcon,a=o.onFocus,l=o.onBlur,d=o.InputProps,c=o.value,p=void 0===c?"":c,m=o.startAdornment,f=o.endAdornment,I=t.__rest(o,["startIcon","endIcon","onFocus","onBlur","InputProps","value","startAdornment","endAdornment"]),g=r.useCustomShrink({startIcon:i,endIcon:u,onFocus:a,onBlur:l,value:p,InputProps:d}),b=g.shrink,A=g.onInputFocus,L=g.onInputBlur,M=g.startLabelOffset,v=g.endLabelOffset,h=g.startAdornmentRef,x=g.endAdornmentRef,_=s({startLabelOffset:M,endLabelOffset:v});return n.jsx(e.TextField,t.__assign({},I,{onFocus:A,onBlur:L,value:p,classes:{root:_.textField},InputLabelProps:t.__assign({shrink:b,classes:{shrink:_.shrunkLabel}},o.InputLabelProps),InputProps:t.__assign({startAdornment:i?n.jsx(e.InputAdornment,t.__assign({position:"start",ref:h},{children:i})):m,endAdornment:u?n.jsx(e.InputAdornment,t.__assign({position:"end",ref:x},{children:u})):f},o.InputProps)}))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require('./../../ext-esm/tslib/tslib.es6.js'),r=require("react/jsx-runtime"),t=require("@material-ui/core"),i=require("prop-types"),s=require("classnames"),n=require("@material-ui/icons/Language");require("../DevCenter/AppHeader/AppHeader.js"),require("../DevCenter/AppSideBar/AppSideBar.js"),require("../DevCenter/AppsDataProvider/AppsDataProvider.js"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/slicedToArray"),require("react"),require("lodash"),require("@material-ui/icons"),require("../Icons/AnnotationIcon.js"),require("../Annotations/components/AnnotationsList/index.js"),require("../Annotations/components/LastAnnotation/index.js"),require("../Annotations/AnnotationsContext.js"),require("../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js"),require("../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js"),require("../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js"),require("../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js"),require("../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js"),require("../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js"),require("../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js"),require("../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js"),require("../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js"),require("../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js"),require("../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js"),require("../../icons/WithCustomSize.js"),require("../../icons/IconParkProvider.js"),require("../../utils/mobileDetect.js"),require("../IconButton/index.js"),require("../Modal/CorvaModal.css.js"),require("uuid"),require("../IconMenu/index.js"),require("../StyledMenuItem/index.js"),require("../AppIcon/AppIcon.js"),require("../DevCenter/AppContext.js"),require("../AssetEditor/index.js"),require("../AssetEditorV2/index.js"),require("../AppVersionsSelect/AppVersionsSelect.js"),require("../LoadingIndicator/LoadingIndicator.js"),require("../Typography.js"),require("../RealTimeValuesSidebar/RealTimeSidebar.js"),require("../CollapsableSidebar.js"),require("../DateTimePicker/index.js"),require("../DatePicker/index.js"),require("../ErrorBoundary/ErrorBoundary.js"),require("../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js"),require("../SlateFormattedText/SlateFormattedText.js"),require("../SlateFormattedText/RenderElements.js"),require("@babel/runtime/helpers/typeof"),require("slate"),require("../EmptyState/EmptyState.js"),require("../ParameterCharts/ParameterCharts.js"),require("../ParameterCharts/AddEditTrack.js"),require("../ChartActionsList/ChartActionsList.js"),require("../CopyToClipboard/CopyToClipboard.js"),require("../AssetEditor/AssetEditorAutocomplete.js"),require("../AssetEditor/SingleAssetEditor.js"),require("../SettingEditors/ColorEditor/index.js"),require("../SettingEditors/DropdownEditor/index.js"),require("../SettingEditors/RadioEditor/index.js"),require("../SwitchControl/index.js"),require("../ColorPicker/ColorPicker.js"),require("../Chart/components/ChartButton.js"),require("../Chart/components/ChartButtons.js"),require("../Chart/components/ChartWrapper.js"),require("../Chart/components/AxisDropdown.js"),require("../Chart/components/ChartSelect.js"),require("../Chart/components/buttons/DragToZoomButton.js"),require("../Chart/components/buttons/ZoomInButton.js"),require("../Chart/components/buttons/ZoomOutButton.js"),require("../Chart/components/buttons/PanButton.js"),require("../Chart/components/buttons/ResetZoomButton.js"),require("../Chart/components/buttons/HideAxesButton.js"),require("../Chart/components/buttons/ChartTypeButton.js"),require("../ColorPicker/PaletteChromePicker/PaletteChromePicker.js"),require("../TruncatedText/index.js"),require("../MiddleTruncatedText/MiddleTruncatedText.js"),require("../RangeSlider/RangeSlider.js"),require("../AdvancedSlider/AdvancedSlider.js"),require("../Breadcrumbs/index.js"),require("../VirtualizedTable/index.js"),require("../EmptyView/EmptyView.js"),require("../EmptyView/EmptyAppView/EmptyAppView.js"),require("../Button/index.js"),require("../ContextMenuItem/index.js"),require("../FolderMenuItem/index.js"),require("../EditableItem/EditableItem/index.js"),require("../EditableItem/EditableItemWithBadge/index.js"),require("../Checkbox/index.js"),require("../FolderMenuItemWithLinks/index.js"),require("../TextField/index.js"),require("../Chip/index.js"),require("../Counter/index.js"),require("../AnchorsList/AnchorsList.js"),require("../Select/index.js"),require("../Select/SelectFilterBy.js"),require("../CustomSelect/index.js"),require("../Tabs/Tabs.js"),require("../Tabs/Tab.js"),require("../ResizableTable/ResizableTable.js"),require("@material-ui/icons/Check"),require("@material-ui/icons/Close"),require("@material-ui/icons/Edit"),require("@material-ui/icons/Delete"),require("../GradientManager/configuration/constants.js"),require("../GradientManager/GradientList.js"),require("@material-ui/icons/AddCircle"),require("../GradientManager/GradientPreview/GradientPreview.js"),require("../GradientManager/GradientSelect.styles.js"),require("../GradientPicker/GradientPicker.js"),require("../GradientManager/GradientManager.styles.js"),require("@babel/runtime/helpers/toConsumableArray"),require("lodash/set"),require("lodash/get"),require("lodash/unset"),require("moment"),require("../../clients/jsonApi/index.js"),require("../../clients/subscriptions.js"),require("../../clients/api/apiCore.js"),require("../../clients/constants.js"),require("../Drillstring/BHASchematic.js"),require("../Drillstring/BHATable/index.js"),require("../Drillstring/BHAComponentIcon.js"),require("../Drillstring/BHAComponentDetail/index.js"),require("../Drillstring/BHATileIcon.js"),require("../Drillstring/BHATile/BHATile.js"),require("../Drillstring/BHAList/BHAList.js"),require("../Drillstring/BHAComponentsTable/BHAComponentsTable.js"),require("../Casing/CasingTable/index.js"),require("../Casing/CasingComponentIcon.js"),require("../Casing/CasingTileIcon.js"),require("../Casing/CasingTableV2/CasingTableV2.js"),require("../Casing/CasingTile/CasingTile.js"),require("../DisabledSettingsMessage/DisabledSettingsMessage.js"),require("../WellSummary/WellSummaryItemLabel.js"),require("../WellSummary/WellSummaryItemTitle.js"),require("../WellSummary/WellSummaryItemValue.js"),require("../WellSummary/ActivitySummaryChart.js"),require("../WellSummary/FracWirelineTimeChart.js"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("../../constants/goals.js"),require("../../constants/segment.js"),require("../../constants/alerts.js"),require("../../constants/apps.js"),require("../../constants/drillstring.js"),require("../../constants/completion.js"),require("../../constants/appPackages.js"),require("../../constants/notifications.js"),require("../../constants/feed.js"),require("../../constants/bha.js"),require("../../utils/env.js"),require("../BICOffsetPickerDialog/index.js"),require("../OffsetWellButton/OffsetWellButton.js"),require("../OffsetWellPickerV2/OffsetWellPickerDialog.js"),require("../OffsetWellPickerV3/index.js"),require("../OffsetWellChips/Chip.js"),require("../OffsetWellChips/ChipsContainer.js"),require("../OffsetWellPickerV4/OffsetWellPickerV4.js"),require("../OffsetWellMap/OffsetWellMap.js"),require("@material-ui/core/Snackbar"),require("../Notifications/Toast.js"),require("../Toaster/Toaster.js"),require("../ConfirmationDialog.js"),require("../Avatar/index.js"),require("../Template/TemplatePopover/index.js"),require("../Template/TemplateSharingDialog/index.js"),require("../MenuItem/index.js"),require("../MiddleTruncate/MiddleTruncate.js"),require("../PadModeSelect/PadModeSelect.js"),require("../PinnableFilters/PinnableFilters.js"),require("../HeaderLayout/HeaderLayout.js"),require("../PadOffsetsPicker/PadOffsetsPicker.js"),require("../PadOffsetsPicker/OffsetAssetChip.js"),require("../PadOffsetsPicker/OffsetAssetsListExpander.js"),require("../PadOffsetsPicker/StagesSelector.js"),require("../PadOffsetsPickerV2/PadOffsetsPickerV2.js"),require("../Table/TableToolbar/TableToolbar.js"),require("../Table/TableContainer/TableContainer.js"),require("../Table/TableCell/TableCell.js"),require("../Tooltip/ScrollableTooltip.js"),require("../PriceInput/PriceInput.js"),require("../LabelsCounter/LabelsCounter.js"),require("../Stepper/Step.js"),require("../Stepper/StepsWrapper.js"),require("../Stepper/Stepper.js"),require("../Comment/CommentIcon/index.js"),require("../FilesLoader/FilesLoader.js"),require("../FilesLoader/Icons/FileIcon.js"),require("../SearchInput/index.js"),require("../FeedItem/FeedItem.js"),require("../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js"),require("../PostInput/PostInput.js"),require("../KeyboardDateTimePicker.js"),require("../AddComment/Popover.js"),require("../AddComment/Popup.js"),require("../StageDesignVActual/ComparisonBar/ComparisonBar.js"),require("../StageDesignVActual/ElementsComparison/ElementsComparison.js"),require("../StageDesignVActual/ComparisonHeader.js"),require("../StageDesignVActual/ComparisonRow.js"),require("../EmbeddedApp/DevCenterEmbeddedApp.js"),require("../EmbeddedApp/EmbeddedApp.js"),require("../HelpCenter/HelpCenterIcon.js"),require("../Autocomplete/Autocomplete.js"),require("../DocumentViewer/DocumentViewer.js"),require("@babel/runtime/helpers/objectWithoutProperties"),require("../ColorPickerPalette/ColorPickerPalette.js"),require("../Search/Search.js"),require("../Search/components/Listbox.js"),require("../Search/components/Paper.js"),require("../Search/components/RecentSearches.js"),require("../Search/components/Groups.js"),require("../StatusBadge/index.js"),require("../Attachment/index.js"),require("../EmojiIconButton.js"),require("../FileUploadIconButton.js"),require("../FilePreview/index.js"),require("../FailedFileUploading.js"),require("../UserMention/index.js"),require("../CommentsInfo/index.js"),require("../CommentInput/index.js"),require("../Comment/index.js"),require("../CommentLoader.js"),require("../AssetNameLabel/AssetStatusBadge.js"),require("../AssetEditorV2/components/PrimaryAssetSelect.js"),require("../AssetEditorV2/components/SecondaryAssetSelect.js"),require("../AssetEditorV2/components/SelectItem.js"),require("../AssetEditorV2/components/MultipleAssetsToggle.js"),require("../AssetEditorV2/components/PrimaryAssetSelectV2.js"),require("../EChartsWrapper/EChartsWrapper.js"),require("querystring"),require("uuid/v1"),require("../../utils/index.js"),require("jsona"),require("../StatusBadge/constants.js"),require("../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js"),require("../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js"),require("../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js"),require("../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js"),require("../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js");var o=require("../DevCenter/DevCenterRouterContext/effects/useDevCenterRouter.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("react-router"),require("rollbar"),require("@rollbar/react"),require("../DevCenter/NavigationBar/NavigationBar.js"),require("../DevCenter/SideBar/SideBar.js"),require("../DevCenter/AppSettingsPopover/AppSettingsPopover.js"),require("../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js"),require("../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js"),require("../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js");var u=a(i),l=a(s),p=a(n),d=t.withStyles({tooltip:{padding:"4px 8px",display:"flex",alignItems:"center"}})(t.Tooltip),q=t.makeStyles((function(e){return{root:{color:e.palette.primary.main,fontSize:"inherit",lineHeight:"inherit",letterSpacing:"0.15px",textDecoration:"none","&:hover":{color:e.palette.primary.main,textDecoration:"underline"},"&:visited":{color:e.palette.primary.main}},disabled:{color:e.palette.primary.dark,fontSize:"inherit",lineHeight:"inherit",letterSpacing:"0.15px"},icon:{marginRight:8},buttonLink:{border:"none",background:"none",padding:0,cursor:"pointer"}}})),c=function(i){var s=i.TooltipProps,n=i.children,a=i.className,u=i.disabled,c=i.showTooltip,j=i.tooltipText,m=i.target,C=i.href,A=e.__rest(i,["TooltipProps","children","className","disabled","showTooltip","tooltipText","target","href"]),g=q(),b=o.useDevCenterRouter();if(u)return r.jsx(t.Tooltip,e.__assign({title:"Disabled",placement:"bottom-start"},{children:r.jsx("span",e.__assign({className:l.default(g.disabled,a)},A,{children:n}))}));var D=b&&"_self"===m?r.jsx("button",e.__assign({tabIndex:0,role:"link",className:l.default(g.buttonLink,g.root,a),onClick:function(e){e.metaKey||e.ctrlKey?window.open(C,"_blank"):b.push(C)}},A,{children:n})):r.jsx("a",e.__assign({className:l.default(g.root,a),target:m,href:C,rel:"noopener noreferrer"},A,{children:n}));return c||j?r.jsx(d,e.__assign({title:r.jsxs(r.Fragment,{children:[r.jsx(p.default,{fontSize:"small",className:g.icon}),j||C]}),placement:"bottom-start"},s,{children:D})):D};u.default.node.isRequired,u.default.string.isRequired,u.default.string,u.default.oneOf(["_self","_blank"]),u.default.bool,u.default.bool,u.default.string,u.default.shape({}),c.propTypes={children:u.default.node.isRequired,href:u.default.string.isRequired,className:u.default.string,target:u.default.oneOf(["_self","_blank"]),disabled:u.default.bool,showTooltip:u.default.bool,tooltipText:u.default.string,TooltipProps:u.default.shape({})},c.defaultProps={TooltipProps:{},className:"",target:"_blank",disabled:!1,showTooltip:!1,tooltipText:""},module.exports=c;
|
|
1
|
+
"use strict";var e=require('./../../ext-esm/tslib/tslib.es6.js'),r=require("react/jsx-runtime"),t=require("@material-ui/core"),i=require("prop-types"),s=require("classnames"),n=require("@material-ui/icons/Language");require("../DevCenter/AppHeader/AppHeader.js"),require("../DevCenter/AppSideBar/AppSideBar.js"),require("../DevCenter/AppsDataProvider/AppsDataProvider.js"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/slicedToArray"),require("react"),require("lodash"),require("@material-ui/icons"),require("../Icons/AnnotationIcon.js"),require("../Annotations/components/AnnotationsList/index.js"),require("../Annotations/components/LastAnnotation/index.js"),require("../Annotations/AnnotationsContext.js"),require("../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js"),require("../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js"),require("../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js"),require("../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js"),require("../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js"),require("../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js"),require("../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js"),require("../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js"),require("../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js"),require("../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js"),require("../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js"),require("../../icons/WithCustomSize.js"),require("../../icons/IconParkProvider.js"),require("../../utils/mobileDetect.js"),require("../IconButton/index.js"),require("../Modal/CorvaModal.css.js"),require("uuid"),require("../IconMenu/index.js"),require("../StyledMenuItem/index.js"),require("../AppIcon/AppIcon.js"),require("../DevCenter/AppContext.js"),require("../AssetEditor/index.js"),require("../AssetEditorV2/index.js"),require("../AppVersionsSelect/AppVersionsSelect.js"),require("../LoadingIndicator/LoadingIndicator.js"),require("../Typography.js"),require("../RealTimeValuesSidebar/RealTimeSidebar.js"),require("../CollapsableSidebar.js"),require("../DateTimePicker/index.js"),require("../DatePicker/index.js"),require("../ErrorBoundary/ErrorBoundary.js"),require("../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js"),require("../SlateFormattedText/SlateFormattedText.js"),require("../SlateFormattedText/RenderElements.js"),require("@babel/runtime/helpers/typeof"),require("slate"),require("../EmptyState/EmptyState.js"),require("../ParameterCharts/ParameterCharts.js"),require("../ParameterCharts/AddEditTrack.js"),require("../ChartActionsList/ChartActionsList.js"),require("../CopyToClipboard/CopyToClipboard.js"),require("../AssetEditor/AssetEditorAutocomplete.js"),require("../AssetEditor/SingleAssetEditor.js"),require("../SettingEditors/ColorEditor/index.js"),require("../SettingEditors/DropdownEditor/index.js"),require("../SettingEditors/RadioEditor/index.js"),require("../SwitchControl/index.js"),require("../ColorPicker/ColorPicker.js"),require("../Chart/components/ChartButton.js"),require("../Chart/components/ChartButtons.js"),require("../Chart/components/ChartWrapper.js"),require("../Chart/components/AxisDropdown.js"),require("../Chart/components/ChartSelect.js"),require("../Chart/components/buttons/DragToZoomButton.js"),require("../Chart/components/buttons/ZoomInButton.js"),require("../Chart/components/buttons/ZoomOutButton.js"),require("../Chart/components/buttons/PanButton.js"),require("../Chart/components/buttons/ResetZoomButton.js"),require("../Chart/components/buttons/HideAxesButton.js"),require("../Chart/components/buttons/ChartTypeButton.js"),require("../ColorPicker/PaletteChromePicker/PaletteChromePicker.js"),require("../TruncatedText/index.js"),require("../MiddleTruncatedText/MiddleTruncatedText.js"),require("../RangeSlider/RangeSlider.js"),require("../AdvancedSlider/AdvancedSlider.js"),require("../Breadcrumbs/index.js"),require("../VirtualizedTable/index.js"),require("../EmptyView/EmptyView.js"),require("../EmptyView/EmptyAppView/EmptyAppView.js"),require("../Button/index.js"),require("../ContextMenuItem/index.js"),require("../FolderMenuItem/index.js"),require("../EditableItem/EditableItem/index.js"),require("../EditableItem/EditableItemWithBadge/index.js"),require("../Checkbox/index.js"),require("../FolderMenuItemWithLinks/index.js"),require("../TextField/index.js"),require("../Chip/index.js"),require("../Counter/index.js"),require("../AnchorsList/AnchorsList.js"),require("../Select/index.js"),require("../Select/SelectFilterBy.js"),require("../CustomSelect/index.js"),require("../Tabs/Tabs.js"),require("../Tabs/Tab.js"),require("../ResizableTable/ResizableTable.js"),require("../GradientPicker/GradientPicker.js"),require("../GradientManager/configuration/constants.js"),require("../GradientManager/GradientList.js"),require("@material-ui/icons/AddCircle"),require("@material-ui/icons/Delete"),require("../GradientManager/GradientPreview/GradientPreview.js"),require("../GradientManager/GradientSelect.styles.js"),require("../GradientManager/GradientManager.styles.js"),require("@babel/runtime/helpers/toConsumableArray"),require("lodash/set"),require("lodash/get"),require("lodash/unset"),require("moment"),require("../../clients/jsonApi/index.js"),require("../../clients/subscriptions.js"),require("../../clients/api/apiCore.js"),require("../../clients/constants.js"),require("../../clients/sso/auth0.js"),require("../../clients/sso/oauth2.js"),require("../Drillstring/BHASchematic.js"),require("../Drillstring/BHATable/index.js"),require("../Drillstring/BHAComponentIcon.js"),require("../Drillstring/BHAComponentDetail/index.js"),require("../Drillstring/BHATileIcon.js"),require("../Drillstring/BHATile/BHATile.js"),require("../Drillstring/BHAList/BHAList.js"),require("../Drillstring/BHAComponentsTable/BHAComponentsTable.js"),require("../Casing/CasingTable/index.js"),require("../Casing/CasingComponentIcon.js"),require("../Casing/CasingTileIcon.js"),require("../Casing/CasingTableV2/CasingTableV2.js"),require("../Casing/CasingTile/CasingTile.js"),require("../DisabledSettingsMessage/DisabledSettingsMessage.js"),require("../WellSummary/WellSummaryItemLabel.js"),require("../WellSummary/WellSummaryItemTitle.js"),require("../WellSummary/WellSummaryItemValue.js"),require("../WellSummary/ActivitySummaryChart.js"),require("../WellSummary/FracWirelineTimeChart.js"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("../../constants/goals.js"),require("../../constants/segment.js"),require("../../constants/alerts.js"),require("../../constants/apps.js"),require("../../constants/drillstring.js"),require("../../constants/completion.js"),require("../../constants/appPackages.js"),require("../../constants/notifications.js"),require("../../constants/feed.js"),require("../../constants/bha.js"),require("../../utils/env.js"),require("../BICOffsetPickerDialog/index.js"),require("../OffsetWellButton/OffsetWellButton.js"),require("../OffsetWellPickerV2/OffsetWellPickerDialog.js"),require("../OffsetWellPickerV3/index.js"),require("../OffsetWellChips/Chip.js"),require("../OffsetWellChips/ChipsContainer.js"),require("../OffsetWellPickerV4/OffsetWellPickerV4.js"),require("../OffsetWellMap/OffsetWellMap.js"),require("@material-ui/core/Snackbar"),require("../Notifications/Toast.js"),require("../Toaster/Toaster.js"),require("../ConfirmationDialog.js"),require("../Avatar/index.js"),require("../Template/TemplatePopover/index.js"),require("../Template/TemplateSharingDialog/index.js"),require("../MenuItem/index.js"),require("../MiddleTruncate/MiddleTruncate.js"),require("../PadModeSelect/PadModeSelect.js"),require("../PinnableFilters/PinnableFilters.js"),require("../HeaderLayout/HeaderLayout.js"),require("../PadOffsetsPicker/PadOffsetsPicker.js"),require("../PadOffsetsPicker/OffsetAssetChip.js"),require("../PadOffsetsPicker/OffsetAssetsListExpander.js"),require("../PadOffsetsPicker/StagesSelector.js"),require("../PadOffsetsPickerV2/PadOffsetsPickerV2.js"),require("../Table/TableToolbar/TableToolbar.js"),require("../Table/TableContainer/TableContainer.js"),require("../Table/TableCell/TableCell.js"),require("../Tooltip/ScrollableTooltip.js"),require("../PriceInput/PriceInput.js"),require("../LabelsCounter/LabelsCounter.js"),require("../Stepper/Step.js"),require("../Stepper/StepsWrapper.js"),require("../Stepper/Stepper.js"),require("../Comment/CommentIcon/index.js"),require("../FilesLoader/FilesLoader.js"),require("../FilesLoader/Icons/FileIcon.js"),require("../SearchInput/index.js"),require("../FeedItem/FeedItem.js"),require("../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js"),require("../PostInput/PostInput.js"),require("../KeyboardDateTimePicker.js"),require("../AddComment/Popover.js"),require("../AddComment/Popup.js"),require("../StageDesignVActual/ComparisonBar/ComparisonBar.js"),require("../StageDesignVActual/ElementsComparison/ElementsComparison.js"),require("../StageDesignVActual/ComparisonHeader.js"),require("../StageDesignVActual/ComparisonRow.js"),require("../EmbeddedApp/DevCenterEmbeddedApp.js"),require("../EmbeddedApp/EmbeddedApp.js"),require("../HelpCenter/HelpCenterIcon.js"),require("../Autocomplete/Autocomplete.js"),require("../DocumentViewer/DocumentViewer.js"),require("@babel/runtime/helpers/objectWithoutProperties"),require("../ColorPickerPalette/ColorPickerPalette.js"),require("../Search/Search.js"),require("../Search/components/Listbox.js"),require("../Search/components/Paper.js"),require("../Search/components/RecentSearches.js"),require("../Search/components/Groups.js"),require("../StatusBadge/index.js"),require("../Attachment/index.js"),require("../EmojiIconButton.js"),require("../FileUploadIconButton.js"),require("../FilePreview/index.js"),require("../FailedFileUploading.js"),require("../UserMention/index.js"),require("../CommentsInfo/index.js"),require("../CommentInput/index.js"),require("../Comment/index.js"),require("../CommentLoader.js"),require("../AssetNameLabel/AssetStatusBadge.js"),require("../AssetEditorV2/components/PrimaryAssetSelect.js"),require("../AssetEditorV2/components/SecondaryAssetSelect.js"),require("../AssetEditorV2/components/SelectItem.js"),require("../AssetEditorV2/components/MultipleAssetsToggle.js"),require("../AssetEditorV2/components/PrimaryAssetSelectV2.js"),require("../EChartsWrapper/EChartsWrapper.js"),require("querystring"),require("uuid/v1"),require("../../utils/index.js"),require("jsona"),require("../StatusBadge/constants.js"),require("../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js"),require("../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js"),require("../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js"),require("../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js"),require("../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js");var o=require("../DevCenter/DevCenterRouterContext/effects/useDevCenterRouter.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("react-router"),require("rollbar"),require("@rollbar/react"),require("../DevCenter/NavigationBar/NavigationBar.js"),require("../DevCenter/SideBar/SideBar.js"),require("../DevCenter/AppSettingsPopover/AppSettingsPopover.js"),require("../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js"),require("../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js"),require("../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js");var u=a(i),l=a(s),p=a(n),d=t.withStyles({tooltip:{padding:"4px 8px",display:"flex",alignItems:"center"}})(t.Tooltip),q=t.makeStyles((function(e){return{root:{color:e.palette.primary.main,fontSize:"inherit",lineHeight:"inherit",letterSpacing:"0.15px",textDecoration:"none","&:hover":{color:e.palette.primary.main,textDecoration:"underline"},"&:visited":{color:e.palette.primary.main}},disabled:{color:e.palette.primary.dark,fontSize:"inherit",lineHeight:"inherit",letterSpacing:"0.15px"},icon:{marginRight:8},buttonLink:{border:"none",background:"none",padding:0,cursor:"pointer"}}})),c=function(i){var s=i.TooltipProps,n=i.children,a=i.className,u=i.disabled,c=i.showTooltip,j=i.tooltipText,m=i.target,C=i.href,A=e.__rest(i,["TooltipProps","children","className","disabled","showTooltip","tooltipText","target","href"]),g=q(),b=o.useDevCenterRouter();if(u)return r.jsx(t.Tooltip,e.__assign({title:"Disabled",placement:"bottom-start"},{children:r.jsx("span",e.__assign({className:l.default(g.disabled,a)},A,{children:n}))}));var D=b&&"_self"===m?r.jsx("button",e.__assign({tabIndex:0,role:"link",className:l.default(g.buttonLink,g.root,a),onClick:function(e){e.metaKey||e.ctrlKey?window.open(C,"_blank"):b.push(C)}},A,{children:n})):r.jsx("a",e.__assign({className:l.default(g.root,a),target:m,href:C,rel:"noopener noreferrer"},A,{children:n}));return c||j?r.jsx(d,e.__assign({title:r.jsxs(r.Fragment,{children:[r.jsx(p.default,{fontSize:"small",className:g.icon}),j||C]}),placement:"bottom-start"},s,{children:D})):D};u.default.node.isRequired,u.default.string.isRequired,u.default.string,u.default.oneOf(["_self","_blank"]),u.default.bool,u.default.bool,u.default.string,u.default.shape({}),c.propTypes={children:u.default.node.isRequired,href:u.default.string.isRequired,className:u.default.string,target:u.default.oneOf(["_self","_blank"]),disabled:u.default.bool,showTooltip:u.default.bool,tooltipText:u.default.string,TooltipProps:u.default.shape({})},c.defaultProps={TooltipProps:{},className:"",target:"_blank",disabled:!1,showTooltip:!1,tooltipText:""},module.exports=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("@babel/runtime/helpers/slicedToArray"),r=require("@babel/runtime/helpers/objectWithoutProperties"),t=require("@babel/runtime/helpers/defineProperty"),i=require("react"),o=require("prop-types"),
|
|
1
|
+
"use strict";var e=require("@babel/runtime/helpers/slicedToArray"),r=require("@babel/runtime/helpers/objectWithoutProperties"),t=require("@babel/runtime/helpers/defineProperty"),i=require("react"),o=require("prop-types"),l=require("@material-ui/core"),n=require("classnames"),a=require("react/jsx-runtime");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=s(e),c=s(r),p=s(t),f=s(o),d=s(n),b=["children","className","maxLines","showTooltip"];function m(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,i)}return t}function h(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?m(Object(t),!0).forEach((function(r){p.default(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):m(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var y=l.makeStyles({root:function(e){var r=e.maxLines;return h({overflow:"hidden"},r?{display:"-webkit-box","-webkit-line-clamp":r,"-webkit-box-orient":"vertical"}:{whiteSpace:"nowrap",textOverflow:"ellipsis"})}});function O(e){var r=e.children,t=e.className,o=void 0===t?"":t,n=e.maxLines,s=void 0===n?null:n,p=e.showTooltip,f=void 0===p||p,m=c.default(e,b),O=i.useState(!1),v=u.default(O,2),w=v[0],j=v[1],x=i.useRef(),g=y({maxLines:s});i.useEffect((function(){var e=x.current,r=e.scrollWidth,t=e.clientWidth,i=e.scrollHeight,o=e.clientHeight;j(s?i>o:r>t)}));var P=a.jsx("div",h(h({className:d.default(g.root,o),ref:x},m),{},{children:r}));return w&&f?a.jsx(l.Tooltip,{title:r,children:P}):P}O.propTypes={children:f.default.oneOfType([f.default.node,f.default.string]).isRequired,className:f.default.string,maxLines:f.default.number,showTooltip:f.default.bool},O.defaultProps={className:"",maxLines:null,showTooltip:!0},module.exports=O;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),r=require("@material-ui/core"),i=require("@material-ui/icons/Close"),t=require("../../icons/index.js"),o=require("./dateTimePickerThemeOverrides.js"),a=require("./accordionOverrides.js"),n=require("./buttonOverrides.js"),c=require("./checkboxOverrides.js"),u=require("./chipOverrides.js"),p=require("./fabOverrides.js"),s=require("./formControlLabelOverrides.js"),d=require("./formGroupOverrides.js"),l=require("./palette.mjs.js"),m=require("./radioOverrides.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),r=require("@material-ui/core"),i=require("@material-ui/icons/Close"),t=require("../../icons/index.js"),o=require("./dateTimePickerThemeOverrides.js"),a=require("./accordionOverrides.js"),n=require("./buttonOverrides.js"),c=require("./checkboxOverrides.js"),u=require("./chipOverrides.js"),p=require("./fabOverrides.js"),s=require("./formControlLabelOverrides.js"),d=require("./formGroupOverrides.js"),l=require("./palette.mjs.js"),m=require("./radioOverrides.js"),x=require("./tableOverrides.js"),h=require("./textFieldOverrides.js"),b=require("./tooltipOverrides.js"),g=require("./themeVariables.mjs.js"),j=require("./toggleButtonsGroupOverrides.js"),O=require("react/jsx-runtime");function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var v=f(e),y=f(i);function M(e,r){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),i.push.apply(i,t)}return i}function k(e){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?M(Object(i),!0).forEach((function(r){v.default(e,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):M(Object(i)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(i,r))}))}return e}var q=l.primary,T=q.text7,P=q.text9,w={overrides:k(k(k(k(k(k(k(k(k(k(k(k(k({MuiPopover:{paper:{boxShadow:"0px 8px 24px 0px #0000003D"}},MuiSelect:{icon:{top:"calc(50% - 8px)"}},MuiMenu:{paper:{root:{overscrollBehaviorY:"contain","& .MuiMenuItem-root":{backgroundColor:l.background.b9,"&$selected":{backgroundColor:l.primary.text9}}}}},MuiMenuItem:{root:{minHeight:36,color:l.primary.contrastText}},MuiTooltip:{tooltip:{backgroundColor:l.background.b9}},MuiSwitch:{switchBase:{color:T},track:{backgroundColor:P,opacity:1},colorPrimary:{"&$checked":{"& + $track":{opacity:.38}}},colorSecondary:{"&$checked":{"& + $track":{opacity:.38}}}},MuiDialogTitle:{root:{padding:"40px 40px 16px 40px","@media (max-width: 960px)":{padding:"16px"}}},MuiDialogContent:{root:{padding:"0 40px 0 40px","@media (max-width: 960px)":{padding:"0 16px"}}},MuiDialogContentText:{root:{color:l.primary.text6,lineHeight:"22.5px",marginBottom:0}},MuiDialogActions:{root:{padding:"32px 40px 40px 40px","@media (max-width: 960px)":{padding:16}},spacing:{"&>:not(:first-child)":{marginLeft:16}}},MuiListItemIcon:{root:{minWidth:48}}},a),n),c),u),o.dateTimePickerThemeOverrides),p),s),d),m),x),h),b),j)},D={MuiMenu:{getContentAnchorEl:function(){return null}},MuiCheckbox:{color:"primary"},MuiRadio:{color:"primary"},MuiChip:{deleteIcon:O.jsx(y.default,{})},MuiSelect:{IconComponent:function(e){return O.jsx(t.DownOneIcon,k({theme:"filled",fill:"#BDBDBD",size:16},e))}}},C=r.createMuiTheme(k(k(k({props:D},g.lightThemeVariables),w),{},{isLightTheme:!0})),B=r.createMuiTheme(k(k(k({props:D},g.darkThemeVariables),{},{palette:k(k({},g.darkThemeVariables.palette),{},{type:"dark"})},w),{},{isLightTheme:!1}));exports.darkTheme=B,exports.lightTheme=C;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var o=require("./palette.mjs.js"),e=o.primary,t=o.background,i={MuiTableContainer:{root:{"overscroll-behavior-x":"contain"}},MuiTableCell:{root:{borderBottomColor:e.text9,height:56,letterSpacing:"0.4px",lineHeight:"20px",paddingLeft:8,paddingRight:8,"&.dense":{fontSize:14,lineHeight:"14px",height:28}},stickyHeader:{backgroundColor:t.b6},head:{color:e.text7,fontSize:14,lineHeight:"14px","&.MuiTableCell-sizeSmall":{fontSize:12,height:48,lineHeight:"14px"},"&.dense":{fontSize:12,lineHeight:"12px",height:28}},body:{fontSize:16},sizeSmall:{fontSize:14,height:48,lineHeight:"20px",paddingRight:16}},MuiTableRow:{root:{"&.MuiTableRow-hover:hover":{backgroundColor:"rgba(255, 255, 255, 0.1)"},"&.Mui-selected, .MuiTableRow-root.Mui-selected:hover":{backgroundColor:"rgba(3, 188, 212, 0.2)"}},head:{borderTop:"1px solid ".concat(e.text9)}},MuiTableSortLabel:{root:{flexDirection:"row",justifyContent:"flex-end","&:hover":{color:o.primary.contrastText,"& .MuiTableSortLabel-icon":{opacity:1,color:o.primary.contrastText},"&.MuiTableSortLabel-active":{color:o.primary.contrastText,"&.MuiTableSortLabel-root.MuiTableSortLabel-active .MuiSvgIcon-root.MuiTableSortLabel-icon":{color:o.primary.contrastText}}},"&.MuiTableSortLabel-active":{color:o.primary.text7,"&.MuiTableSortLabel-root.MuiTableSortLabel-active .MuiSvgIcon-root.MuiTableSortLabel-icon":{color:o.primary.text7}}},icon:{marginRight:0,color:o.primary.text7,fontSize:16}},MuiTablePagination:{toolbar:{paddingTop:10},caption:{fontSize:12},selectRoot:{marginRight:31,marginLeft:3,"& .MuiTablePagination-select":{paddingRight:31,paddingLeft:2}},input:{fontSize:12,position:"relative",top:1},selectIcon:{"&.MuiSvgIcon-root.MuiSelect-icon":{fontSize:16,top:5}},actions:{marginLeft:23,"& .MuiIconButton-root":{color:e.text6,fontSize:16,padding:7,"&:hover":{color:e.contrastText},"&.Mui-disabled":{color:e.text8}}},root:{"& .MuiSvgIcon-root":{color:"inherit",fontSize:"inherit"}}}};module.exports=i;
|
|
1
|
+
"use strict";var o=require("./palette.mjs.js"),e=o.primary,t=o.background,i={MuiTableContainer:{root:{"overscroll-behavior-x":"contain"}},MuiTableCell:{root:{borderBottomColor:e.text9,height:56,letterSpacing:"0.4px",lineHeight:"20px",paddingLeft:8,paddingRight:8,"&.dense":{fontSize:14,lineHeight:"14px",height:28}},stickyHeader:{backgroundColor:t.b6},head:{color:e.text7,fontSize:14,lineHeight:"14px","&.MuiTableCell-sizeSmall":{fontSize:12,height:48,lineHeight:"14px"},"&.dense":{fontSize:12,lineHeight:"12px",height:28}},body:{fontSize:16},sizeSmall:{fontSize:14,height:48,lineHeight:"20px",paddingRight:16}},MuiTableRow:{root:{"&.MuiTableRow-hover:hover":{backgroundColor:"rgba(255, 255, 255, 0.1)"},"&.Mui-selected, .MuiTableRow-root.Mui-selected:hover":{backgroundColor:"rgba(3, 188, 212, 0.2)"}},head:{borderTop:"1px solid ".concat(e.text9)}},MuiTableSortLabel:{root:{flexDirection:"row",justifyContent:"flex-end","&:hover":{color:o.primary.contrastText,"& .MuiTableSortLabel-icon":{opacity:1,color:o.primary.contrastText},"&.MuiTableSortLabel-active":{color:o.primary.contrastText,"&.MuiTableSortLabel-root.MuiTableSortLabel-active .MuiSvgIcon-root.MuiTableSortLabel-icon":{color:o.primary.contrastText}}},"&.MuiTableSortLabel-active.MuiTableSortLabel-root.MuiTableSortLabel-active .MuiTableSortLabel-icon":{color:"unset !important"},"&.MuiTableSortLabel-active":{color:o.primary.text7,"&.MuiTableSortLabel-root.MuiTableSortLabel-active .MuiSvgIcon-root.MuiTableSortLabel-icon":{color:o.primary.text7}}},icon:{marginRight:0,color:o.primary.text7,fontSize:16}},MuiTablePagination:{toolbar:{paddingTop:10},caption:{fontSize:12},selectRoot:{marginRight:31,marginLeft:3,"& .MuiTablePagination-select":{paddingRight:31,paddingLeft:2}},input:{fontSize:12,position:"relative",top:1},selectIcon:{"&.MuiSvgIcon-root.MuiSelect-icon":{fontSize:16,top:5}},actions:{marginLeft:23,"& .MuiIconButton-root":{color:e.text6,fontSize:16,padding:7,"&:hover":{color:e.contrastText},"&.Mui-disabled":{color:e.text8}}},root:{"& .MuiSvgIcon-root":{color:"inherit",fontSize:"inherit"}}}};module.exports=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("./WithCustomSize.js"),e=require("./IconParkProvider.js"),o=t.withCustomSize("AddOne"),i=t.withCustomSize("AllApplication"),s=t.withCustomSize("Attention"),n=t.withCustomSize("ChartHistogramTwo"),r=t.withCustomSize("BubbleChart"),p=t.withCustomSize("Broadcast"),c=t.withCustomSize("Caution"),C=t.withCustomSize("Calendar"),u=t.withCustomSize("CenterAlignment"),S=t.withCustomSize("CheckOne"),m=t.withCustomSize("CheckSmall"),h=t.withCustomSize("CloseSmall"),w=t.withCustomSize("Code"),I=t.withCustomSize("CollapseTextInput"),l=t.withCustomSize("Copy"),x=t.withCustomSize("DeleteFour"),z=t.withCustomSize("Download"),a=t.withCustomSize("Down"),d=t.withCustomSize("DownSmall"),P=t.withCustomSize("DownOne"),g=t.withCustomSize("ExpandTextInput"),U=t.withCustomSize("Filter"),k=t.withCustomSize("FiveFive"),O=t.withCustomSize("FullScreenOne"),A=t.withCustomSize("HandleRound"),D=t.withCustomSize("ChartHistogram"),F=t.withCustomSize("Help"),L=t.withCustomSize("Layers"),v=t.withCustomSize("Info"),M=t.withCustomSize("LeftAlignment"),R=t.withCustomSize("Left"),T=t.withCustomSize("ChartLine"),f=t.withCustomSize("Lock"),H=t.withCustomSize("Message"),y=t.withCustomSize("Minus"),b=t.withCustomSize("More"),B=t.withCustomSize("MoveInOne"),j=t.withCustomSize("People"),W=t.withCustomSize("Peoples"),q=t.withCustomSize("Plus"),E=t.withCustomSize("Platte"),V=t.withCustomSize("Detection"),_=t.withCustomSize("Puzzle"),G=t.withCustomSize("Redo"),J=t.withCustomSize("Remind"),K=t.withCustomSize("Right"),N=t.withCustomSize("Search"),Q=t.withCustomSize("Send"),X=t.withCustomSize("SettingOne"),Y=t.withCustomSize("SettingTwo"),Z=t.withCustomSize("SmilingFace"),$=t.withCustomSize("Star"),tt=t.withCustomSize("Time"),et=t.withCustomSize("Undo"),ot=t.withCustomSize("Unlock"),it=t.withCustomSize("Upload"),st=t.withCustomSize("Up"),nt=t.withCustomSize("UpSmall"),rt=t.withCustomSize("User"),pt=t.withCustomSize("VerticalTidyUp"),ct=t.withCustomSize("Write");exports.IconParkProvider=e.IconParkProvider,exports.AddOneIcon=o,exports.ApplicationIcon=i,exports.AttentionIcon=s,exports.BarChartIcon=n,exports.BroadcastIcon=p,exports.BubbleChartIcon=r,exports.CalendarIcon=C,exports.CautionIcon=c,exports.CenterAlignmentIcon=u,exports.CheckOneIcon=S,exports.CheckSmallIcon=m,exports.CloseSmallIcon=h,exports.CodeIcon=w,exports.CollapseIcon=I,exports.CopyIcon=l,exports.DeleteFourIcon=x,exports.DownIcon=a,exports.DownOneIcon=P,exports.DownSmallIcon=d,exports.DownloadIcon=z,exports.ExpandIcon=g,exports.FilterIcon=U,exports.FiveIcon=k,exports.FullScreenOneIcon=O,exports.HandleRoundIcon=A,exports.HelpIcon=F,exports.HistogramIcon=D,exports.InfoIcon=v,exports.LayersIcon=L,exports.LeftAlignmentIcon=M,exports.LeftIcon=R,exports.LineChartIcon=T,exports.LockIcon=f,exports.MessageIcon=H,exports.MinusIcon=y,exports.MoreIcon=b,exports.MoveInIcon=B,exports.PaletteIcon=E,exports.PeopleIcon=j,exports.PeoplesIcon=W,exports.PickerIcon=V,exports.PlusIcon=q,exports.PuzzleIcon=_,exports.RedoIcon=G,exports.RemindIcon=J,exports.RightIcon=K,exports.SearchIcon=N,exports.SendIcon=Q,exports.SettingOneIcon=X,exports.SettingTwoIcon=Y,exports.SmilingFaceIcon=Z,exports.StarIcon=$,exports.TimeIcon=tt,exports.UndoIcon=et,exports.UnlockIcon=ot,exports.UpIcon=st,exports.UpSmallIcon=nt,exports.UploadIcon=it,exports.UserIcon=rt,exports.VerticalLinesIcon=pt,exports.WriteIcon=ct;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("./WithCustomSize.js"),t=require("./IconParkProvider.js"),e=o.withCustomSize("DownSmall"),i=o.withCustomSize("UpSmall"),s=o.withCustomSize("RightSmall"),n=o.withCustomSize("LeftSmall"),r=o.withCustomSize("LeftSmallDown"),p=o.withCustomSize("LeftSmallUp"),S=o.withCustomSize("RightSmallDown"),h=o.withCustomSize("RightSmallUp"),c=o.withCustomSize("ArrowDown"),u=o.withCustomSize("ArrowUp"),w=o.withCustomSize("ArrowRight"),m=o.withCustomSize("ArrowLeft"),C=o.withCustomSize("ArrowLeftDown"),I=o.withCustomSize("ArrowLeftUp"),x=o.withCustomSize("ArrowRightDown"),z=o.withCustomSize("ArrowRightUp"),l=o.withCustomSize("CornerUpRight"),a=o.withCustomSize("CornerUpLeft"),g=o.withCustomSize("CornerRightUp"),d=o.withCustomSize("CornerRightDown"),T=o.withCustomSize("CornerLeftUp"),O=o.withCustomSize("CornerLeftDown"),P=o.withCustomSize("CornerDownRight"),L=o.withCustomSize("CornerDownLeft"),A=o.withCustomSize("Down"),D=o.withCustomSize("Up"),R=o.withCustomSize("Right"),f=o.withCustomSize("Left"),U=o.withCustomSize("DoubleDown"),k=o.withCustomSize("DoubleLeft"),F=o.withCustomSize("DoubleRight"),M=o.withCustomSize("DoubleUp"),H=o.withCustomSize("RightOne"),v=o.withCustomSize("LeftOne"),y=o.withCustomSize("DownOne"),b=o.withCustomSize("UpOne"),B=o.withCustomSize("Fill"),E=o.withCustomSize("GoEnd"),V=o.withCustomSize("GoStart"),G=o.withCustomSize("ToBottomOne"),W=o.withCustomSize("ToTopOne"),q=o.withCustomSize("Download"),Z=o.withCustomSize("Upload"),j=o.withCustomSize("Login"),K=o.withCustomSize("Logout"),_=o.withCustomSize("Share"),J=o.withCustomSize("ShareThree"),N=o.withCustomSize("ExpandTextInput"),Q=o.withCustomSize("CollapseTextInput"),X=o.withCustomSize("FullScreen"),Y=o.withCustomSize("FullScreenOne"),$=o.withCustomSize("OffScreenOne"),oo=o.withCustomSize("OffScreen"),to=o.withCustomSize("OffScreenTwo"),eo=o.withCustomSize("FullScreenTwo"),io=o.withCustomSize("SortAmountDown"),so=o.withCustomSize("SortAmountUp"),no=o.withCustomSize("SortFour"),ro=o.withCustomSize("SortThree"),po=o.withCustomSize("SortTwo"),So=o.withCustomSize("Switch"),ho=o.withCustomSize("ClickToFold"),co=o.withCustomSize("Sort"),uo=o.withCustomSize("TransferData"),wo=o.withCustomSize("Back"),mo=o.withCustomSize("ShareTwo"),Co=o.withCustomSize("SlidingVertical"),Io=o.withCustomSize("SlidingHorizontal"),xo=o.withCustomSize("TrendingUp"),zo=o.withCustomSize("InvertLeft"),lo=o.withCustomSize("BackOne"),ao=o.withCustomSize("InvertRight"),go=o.withCustomSize("GoAhead"),To=o.withCustomSize("Undo"),Oo=o.withCustomSize("Redo"),Po=o.withCustomSize("RotationHorizontal"),Lo=o.withCustomSize("RotationVertical"),Ao=o.withCustomSize("Refresh"),Do=o.withCustomSize("Plus"),Ro=o.withCustomSize("Minus"),fo=o.withCustomSize("AddFour"),Uo=o.withCustomSize("Add"),ko=o.withCustomSize("Reduce"),Fo=o.withCustomSize("Comment"),Mo=o.withCustomSize("CommentOne"),Ho=o.withCustomSize("Message"),vo=o.withCustomSize("MessageOne"),yo=o.withCustomSize("MessageSent"),bo=o.withCustomSize("Drag"),Bo=o.withCustomSize("ApplicationMenu"),Eo=o.withCustomSize("ActivitySource"),Vo=o.withCustomSize("VerticalTidyUp"),Go=o.withCustomSize("System"),Wo=o.withCustomSize("MemoryOne"),qo=o.withCustomSize("AllApplication"),Zo=o.withCustomSize("MoreApp"),jo=o.withCustomSize("ApplicationTwo"),Ko=o.withCustomSize("Server"),_o=o.withCustomSize("ChartHistogramOne"),Jo=o.withCustomSize("ChartHistogram"),No=o.withCustomSize("ChartHistogramTwo"),Qo=o.withCustomSize("ChartLineArea"),Xo=o.withCustomSize("ChartLine"),Yo=o.withCustomSize("ChartPie"),$o=o.withCustomSize("ChartProportion"),ot=o.withCustomSize("PieThree"),tt=o.withCustomSize("PieTwo"),et=o.withCustomSize("Histogram"),it=o.withCustomSize("Ranking"),st=o.withCustomSize("ChartStock"),nt=o.withCustomSize("BubbleChart"),rt=o.withCustomSize("ZoomIn"),pt=o.withCustomSize("ZoomOut"),St=o.withCustomSize("LocalPin"),ht=o.withCustomSize("LocalTwo"),ct=o.withCustomSize("Local"),ut=o.withCustomSize("Five"),wt=o.withCustomSize("MoveIn"),mt=o.withCustomSize("Average"),Ct=o.withCustomSize("ScatterAlignment"),It=o.withCustomSize("Write"),xt=o.withCustomSize("Edit"),zt=o.withCustomSize("EditTwo"),lt=o.withCustomSize("Delete"),at=o.withCustomSize("DeleteOne"),gt=o.withCustomSize("DeleteFour"),dt=o.withCustomSize("Copy"),Tt=o.withCustomSize("CopyOne"),Ot=o.withCustomSize("Lock"),Pt=o.withCustomSize("Unlock"),Lt=o.withCustomSize("FolderOpen"),At=o.withCustomSize("Pencil"),Dt=o.withCustomSize("LeftAlignment"),Rt=o.withCustomSize("CenterAlignment"),ft=o.withCustomSize("Filter"),Ut=o.withCustomSize("Equalizer"),kt=o.withCustomSize("CheckSmall"),Ft=o.withCustomSize("CloseSmall"),Mt=o.withCustomSize("Caution"),Ht=o.withCustomSize("Attention"),vt=o.withCustomSize("Info"),yt=o.withCustomSize("CheckOne"),bt=o.withCustomSize("CloseOne"),Bt=o.withCustomSize("Help"),Et=o.withCustomSize("HamburgerButton"),Vt=o.withCustomSize("More"),Gt=o.withCustomSize("MoreOne"),Wt=o.withCustomSize("MoreTwo"),qt=o.withCustomSize("MoreThree"),Zt=o.withCustomSize("ShareOne"),jt=o.withCustomSize("Home"),Kt=o.withCustomSize("HomeTwo"),_t=o.withCustomSize("Send"),Jt=o.withCustomSize("PreviewOpen"),Nt=o.withCustomSize("PreviewCloseOne"),Qt=o.withCustomSize("PreviewClose"),Xt=o.withCustomSize("SettingTwo"),Yt=o.withCustomSize("SettingOne"),$t=o.withCustomSize("Setting"),oe=o.withCustomSize("SettingThree"),te=o.withCustomSize("SettingConfig"),ee=o.withCustomSize("TableFile"),ie=o.withCustomSize("CalendarDot"),se=o.withCustomSize("CalendarThree"),ne=o.withCustomSize("Calendar"),re=o.withCustomSize("Time"),pe=o.withCustomSize("Stopwatch"),Se=o.withCustomSize("History"),he=o.withCustomSize("AlarmClock"),ce=o.withCustomSize("User"),ue=o.withCustomSize("AddUser"),we=o.withCustomSize("RightUser"),me=o.withCustomSize("WrongUser"),Ce=o.withCustomSize("ReduceUser"),Ie=o.withCustomSize("People"),xe=o.withCustomSize("PeoplePlusOne"),ze=o.withCustomSize("PeoplePlus"),le=o.withCustomSize("PeopleMinusOne"),ae=o.withCustomSize("PeopleMinus"),ge=o.withCustomSize("PeopleDeleteOne"),de=o.withCustomSize("PeopleDelete"),Te=o.withCustomSize("Peoples"),Oe=o.withCustomSize("PeoplesTwo"),Pe=o.withCustomSize("RemindDisable"),Le=o.withCustomSize("Remind"),Ae=o.withCustomSize("Alarm"),De=o.withCustomSize("Report"),Re=o.withCustomSize("Like"),fe=o.withCustomSize("Tips"),Ue=o.withCustomSize("Platte"),ke=o.withCustomSize("Detection"),Fe=o.withCustomSize("Link"),Me=o.withCustomSize("RocketOne"),He=o.withCustomSize("Rocket"),ve=o.withCustomSize("Sun"),ye=o.withCustomSize("Moon"),be=o.withCustomSize("Puzzle"),Be=o.withCustomSize("Power"),Ee=o.withCustomSize("Broadcast"),Ve=o.withCustomSize("ShareSys"),Ge=o.withCustomSize("SignalOne"),We=o.withCustomSize("SignalStrength"),qe=o.withCustomSize("AutoFocus"),Ze=o.withCustomSize("Pennant"),je=o.withCustomSize("Flag"),Ke=o.withCustomSize("TagOne"),_e=o.withCustomSize("Label"),Je=o.withCustomSize("Rss"),Ne=o.withCustomSize("LinkOne"),Qe=o.withCustomSize("LinkTwo"),Xe=o.withCustomSize("Paperclip"),Ye=o.withCustomSize("LoadingFour"),$e=o.withCustomSize("LoadingOne"),oi=o.withCustomSize("Loading"),ti=o.withCustomSize("PauseOne"),ei=o.withCustomSize("Pause"),ii=o.withCustomSize("PlayOne"),si=o.withCustomSize("Terminal"),ni=o.withCustomSize("Instruction"),ri=o.withCustomSize("Code"),pi=o.withCustomSize("CodeOne"),Si=o.withCustomSize("DeleteKey"),hi=o.withCustomSize("DeleteTwo"),ci=o.withCustomSize("ShieldAdd"),ui=o.withCustomSize("Harm"),wi=o.withCustomSize("Protect"),mi=o.withCustomSize("SwitchButton"),Ci=o.withCustomSize("LaptopComputer"),Ii=o.withCustomSize("PrinterTwo"),xi=o.withCustomSize("Printer"),zi=o.withCustomSize("Picture"),li=o.withCustomSize("HandleRound"),ai=o.withCustomSize("Data"),gi=o.withCustomSize("Layers"),di=o.withCustomSize("SmilingFace"),Ti=o.withCustomSize("Star"),Oi=o.withCustomSize("ThumbsUp"),Pi=o.withCustomSize("Thermometer"),Li=o.withCustomSize("Ruler"),Ai=o.withCustomSize("AddOne"),Di=o.withCustomSize("Close"),Ri=o.withCustomSize("Search"),fi=o.withCustomSize("VerticalTidyUp"),Ui=o.withCustomSize("Platte"),ki=o.withCustomSize("Detection"),Fi=o.withCustomSize("ChartLine"),Mi=o.withCustomSize("ExpandTextInput"),Hi=o.withCustomSize("CollapseTextInput"),vi=o.withCustomSize("ChartHistogramTwo"),yi=o.withCustomSize("AllApplication");exports.IconParkProvider=t.IconParkProvider,exports.ActivitySourceIcon=Eo,exports.AddFourIcon=fo,exports.AddIcon=Uo,exports.AddOneIcon=Ai,exports.AddUserIcon=ue,exports.AlarmClockIcon=he,exports.AlarmIcon=Ae,exports.AllApplicationIcon=qo,exports.ApplicationIcon=yi,exports.ApplicationMenuIcon=Bo,exports.ApplicationTwoIcon=jo,exports.ArrowDownIcon=c,exports.ArrowLeftDownIcon=C,exports.ArrowLeftIcon=m,exports.ArrowLeftUpIcon=I,exports.ArrowRightDownIcon=x,exports.ArrowRightIcon=w,exports.ArrowRightUpIcon=z,exports.ArrowUpIcon=u,exports.AttentionIcon=Ht,exports.AutoFocusIcon=qe,exports.AverageIcon=mt,exports.BackIcon=wo,exports.BackOneIcon=lo,exports.BarChartIcon=vi,exports.BroadcastIcon=Ee,exports.BubbleChartIcon=nt,exports.CalendarDotIcon=ie,exports.CalendarIcon=ne,exports.CalendarThreeIcon=se,exports.CautionIcon=Mt,exports.CenterAlignmentIcon=Rt,exports.ChartHistogramIcon=Jo,exports.ChartHistogramOneIcon=_o,exports.ChartHistogramTwoIcon=No,exports.ChartLineAreaIcon=Qo,exports.ChartLineIcon=Xo,exports.ChartPieIcon=Yo,exports.ChartProportionIcon=$o,exports.ChartStockIcon=st,exports.CheckOneIcon=yt,exports.CheckSmallIcon=kt,exports.ClickToFoldIcon=ho,exports.CloseIcon=Di,exports.CloseOneIcon=bt,exports.CloseSmallIcon=Ft,exports.CodeIcon=ri,exports.CodeOneIcon=pi,exports.CollapseIcon=Hi,exports.CollapseTextInputIcon=Q,exports.CommentIcon=Fo,exports.CommentOneIcon=Mo,exports.CopyIcon=dt,exports.CopyOneIcon=Tt,exports.CornerDownLeftIcon=L,exports.CornerDownRightIcon=P,exports.CornerLeftDownIcon=O,exports.CornerLeftUpIcon=T,exports.CornerRightDownIcon=d,exports.CornerRightUpIcon=g,exports.CornerUpLeftIcon=a,exports.CornerUpRightIcon=l,exports.DataIcon=ai,exports.DeleteFourIcon=gt,exports.DeleteIcon=lt,exports.DeleteKeyIcon=Si,exports.DeleteOneIcon=at,exports.DeleteTwoIcon=hi,exports.DetectionIcon=ke,exports.DoubleDownIcon=U,exports.DoubleLeftIcon=k,exports.DoubleRightIcon=F,exports.DoubleUpIcon=M,exports.DownIcon=A,exports.DownOneIcon=y,exports.DownSmallIcon=e,exports.DownloadIcon=q,exports.DragIcon=bo,exports.EditIcon=xt,exports.EditTwoIcon=zt,exports.EqualizerIcon=Ut,exports.ExpandIcon=Mi,exports.ExpandTextInputIcon=N,exports.FillIcon=B,exports.FilterIcon=ft,exports.FiveIcon=ut,exports.FlagIcon=je,exports.FolderOpenIcon=Lt,exports.FullScreenIcon=X,exports.FullScreenOneIcon=Y,exports.FullScreenTwoIcon=eo,exports.GoAheadIcon=go,exports.GoEndIcon=E,exports.GoStartIcon=V,exports.HamburgerButtonIcon=Et,exports.HandleRoundIcon=li,exports.HarmIcon=ui,exports.HelpIcon=Bt,exports.HistogramIcon=et,exports.HistoryIcon=Se,exports.HomeTwoIcon=Kt,exports.InfoIcon=vt,exports.InstructionIcon=ni,exports.InvertLeftIcon=zo,exports.InvertRightIcon=ao,exports.LabelIcon=_e,exports.LaptopComputerIcon=Ci,exports.LayersIcon=gi,exports.LeftAlignmentIcon=Dt,exports.LeftIcon=f,exports.LeftOneIcon=v,exports.LeftSmallDownIcon=r,exports.LeftSmallIcon=n,exports.LeftSmallUpIcon=p,exports.LikeIcon=Re,exports.LineChartIcon=Fi,exports.LinkIcon=Fe,exports.LinkOneIcon=Ne,exports.LinkTwoIcon=Qe,exports.LoadingFourIcon=Ye,exports.LoadingIcon=oi,exports.LoadingOneIcon=$e,exports.LocalIcon=ct,exports.LocalPinIcon=St,exports.LocalTwoIcon=ht,exports.LockIcon=Ot,exports.LoginIcon=j,exports.LogoutIcon=K,exports.MemoryOneIcon=Wo,exports.MessageIcon=Ho,exports.MessageOneIcon=vo,exports.MessageSentIcon=yo,exports.MinusIcon=Ro,exports.MoonIcon=ye,exports.MoreAppIcon=Zo,exports.MoreIcon=Vt,exports.MoreOneIcon=Gt,exports.MoreThreeIcon=qt,exports.MoreTwoIcon=Wt,exports.MoveInIcon=wt,exports.OffScreenIcon=oo,exports.OffScreenOneIcon=$,exports.OffScreenTwoIcon=to,exports.PaletteIcon=Ui,exports.PaperclipIcon=Xe,exports.PauseIcon=ei,exports.PauseOneIcon=ti,exports.PencilIcon=At,exports.PennantIcon=Ze,exports.PeopleDeleteIcon=de,exports.PeopleDeleteOneIcon=ge,exports.PeopleIcon=Ie,exports.PeopleMinusIcon=ae,exports.PeopleMinusOneIcon=le,exports.PeoplePlusIcon=ze,exports.PeoplePlusOneIcon=xe,exports.PeoplesIcon=Te,exports.PeoplesTwoIcon=Oe,exports.PickerIcon=ki,exports.PictureIcon=zi,exports.PieThreeIcon=ot,exports.PieTwoIcon=tt,exports.PlatteIcon=Ue,exports.PlayOneIcon=ii,exports.PlusIcon=Do,exports.PowerIcon=Be,exports.PreviewCloseIcon=Qt,exports.PreviewCloseOneIcon=Nt,exports.PreviewOpenIcon=Jt,exports.PrinterIcon=xi,exports.PrinterTwoIcon=Ii,exports.ProtectIcon=wi,exports.PuzzleIcon=be,exports.RankingIcon=it,exports.RedoIcon=Oo,exports.ReduceIcon=ko,exports.ReduceUserIcon=Ce,exports.RefreshIcon=Ao,exports.RemindDisableIcon=Pe,exports.RemindIcon=Le,exports.ReportIcon=De,exports.RightIcon=R,exports.RightOneIcon=H,exports.RightSmallDownIcon=S,exports.RightSmallIcon=s,exports.RightSmallUpIcon=h,exports.RightUserIcon=we,exports.RocketIcon=He,exports.RocketOneIcon=Me,exports.RotationHorizontalIcon=Po,exports.RotationVerticalIcon=Lo,exports.RssIcon=Je,exports.RulerIcon=Li,exports.ScatterAlignmentIcon=Ct,exports.SearchIcon=Ri,exports.SendIcon=_t,exports.ServerIcon=Ko,exports.SettingConfigIcon=te,exports.SettingIcon=$t,exports.SettingOneIcon=Yt,exports.SettingThreeIcon=oe,exports.SettingTwoIcon=Xt,exports.ShareIcon=_,exports.ShareOneIcon=Zt,exports.ShareSysIcon=Ve,exports.ShareThreeIcon=J,exports.ShareTwoIcon=mo,exports.ShieldAddIcon=ci,exports.SignalOneIcon=Ge,exports.SignalStrengthIcon=We,exports.SlidingHorizontalIcon=Io,exports.SlidingVerticalIcon=Co,exports.SmilingFaceIcon=di,exports.SortAmountDownIcon=io,exports.SortAmountUpIcon=so,exports.SortFourIcon=no,exports.SortIcon=co,exports.SortThreeIcon=ro,exports.SortTwoIcon=po,exports.StarIcon=Ti,exports.StopwatchIcon=pe,exports.SunIcon=ve,exports.SwitchButtonIcon=mi,exports.SwitchIcon=So,exports.SystemIcon=Go,exports.TableFileIcon=ee,exports.TagOneIcon=Ke,exports.TerminalIcon=si,exports.ThermometerIcon=Pi,exports.ThumbsUpIcon=Oi,exports.TimeIcon=re,exports.TipsIcon=fe,exports.ToBottomOneIcon=G,exports.ToTopOneIcon=W,exports.TransferDataIcon=uo,exports.TrendingUpIcon=xo,exports.UndoIcon=To,exports.UnlockIcon=Pt,exports.UpIcon=D,exports.UpOneIcon=b,exports.UpSmallIcon=i,exports.UploadIcon=Z,exports.UserIcon=ce,exports.VerticalLinesIcon=fi,exports.VerticalTidyUpIcon=Vo,exports.WriteIcon=It,exports.WrongUserIcon=me,exports.ZoomInIcon=rt,exports.ZoomOutIcon=pt,exports.homeIcon=jt;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),i=require("../utils.js"),s=require("./abilities.js"),r=require("./settingsApps.js"),t=require("./appsPermissions.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e);function c(e,i){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);i&&(r=r.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),s.push.apply(s,r)}return s}function o(e){for(var i=1;i<arguments.length;i++){var s=null!=arguments[i]?arguments[i]:{};i%2?c(Object(s),!0).forEach((function(i){n.default(e,i,s[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):c(Object(s)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(s,i))}))}return e}var l=o(o({companySelectorView:i.stringifyPermission({resource_class:"company_selector",ability:s.ABILITIES.view}),userCreate:i.stringifyPermission({resource_class:"User",ability:s.ABILITIES.create}),getUserUpdate:function(e){return i.stringifyPermission({resource_class:"User",ability:s.ABILITIES.update,resource_id:e})},canViewCorvaAppVersion:i.stringifyPermission({resource_class:"corva_app_version",ability:s.ABILITIES.view}),documentationEdit:i.stringifyPermission({resource_class:"Document",ability:s.ABILITIES.edit}),documentationCreate:i.stringifyPermission({resource_class:"Document",ability:s.ABILITIES.create}),documentationDestroy:i.stringifyPermission({resource_class:"Document",ability:s.ABILITIES.destroy}),canUpdateWellQC:i.stringifyPermission({resource_class:"well_qc",ability:s.ABILITIES.update}),getFeedItemDestroy:function(e){return i.stringifyPermission({resource_class:"Activity",ability:s.ABILITIES.destroy,resource_id:e})},getCommentDestroy:function(e){return i.stringifyPermission({resource_class:"Comment",ability:s.ABILITIES.destroy,resource_id:e})},getAlertUpdate:function(e){return i.stringifyPermission({resource_class:"Alert",ability:s.ABILITIES.update,resource_id:e})},getAlertDestroy:function(e){return i.stringifyPermission({resource_class:"Alert",ability:s.ABILITIES.destroy,resource_id:e})},streamVisibilityEdit:i.stringifyPermission({resource_class:"stream",ability:s.ABILITIES.edit}),userImpersonate:i.stringifyPermission({resource_class:"user",ability:s.ABILITIES.impersonate}),getDashboardUpdate:function(e){return i.stringifyPermission({resource_class:"Dashboard",ability:s.ABILITIES.update,resource_id:e})},canCreateDashboard:i.stringifyPermission({resource_class:"Dashboard",ability:s.ABILITIES.create}),canCopyUsers:i.stringifyPermission({resource_class:"Group",ability:s.ABILITIES.copy_users}),canViewDocumentsInfo:i.stringifyPermission({resource_class:"documents_info",ability:s.ABILITIES.view}),canViewCostsInfo:i.stringifyPermission({resource_class:"costs_info",ability:s.ABILITIES.view}),canViewBillingCost:i.stringifyPermission({resource_class:"billing_visualization_cost",ability:s.ABILITIES.view}),canReadBillingInfo:i.stringifyPermission({resource_class:"Usage",ability:s.ABILITIES.read}),canUpdateTiers:i.stringifyPermission({resource_class:"Tier",ability:s.ABILITIES.update}),canReadTiers:i.stringifyPermission({resource_class:"Tier",ability:s.ABILITIES.read}),canCreateTiers:i.stringifyPermission({resource_class:"Tier",ability:s.ABILITIES.create}),canDestroyTiers:i.stringifyPermission({resource_class:"Tier",ability:s.ABILITIES.destroy}),canUpdatePlatformSubscriptions:i.stringifyPermission({resource_class:"PlatformSubscription",ability:s.ABILITIES.update}),canReadPlatformSubscriptions:i.stringifyPermission({resource_class:"PlatformSubscription",ability:s.ABILITIES.read}),canCreatePlatformSubscriptions:i.stringifyPermission({resource_class:"PlatformSubscription",ability:s.ABILITIES.create}),canDestroyPlatformSubscriptions:i.stringifyPermission({resource_class:"PlatformSubscription",ability:s.ABILITIES.destroy}),canViewPurchasesPage:i.stringifyPermission({resource_class:"company_purchase",ability:s.ABILITIES.access}),canReadPermissions:i.stringifyPermission({resource_class:"Permission",ability:s.ABILITIES.read}),canViewUserPermissions:i.stringifyPermission({resource_class:"mng_permissions_user_btn",ability:s.ABILITIES.view}),canViewGroupPermissions:i.stringifyPermission({resource_class:"mng_permissions_group_btn",ability:s.ABILITIES.view}),canShareGroup:i.stringifyPermission({resource_class:"Group",ability:s.ABILITIES.share}),getAppStreamUpdate:function(e){return i.stringifyPermission({resource_class:"AppStream",ability:s.ABILITIES.update,resource_id:e})},canViewAlertValidationFilters:i.stringifyPermission({resource_class:"alert_validation_filters",ability:s.ABILITIES.view}),canViewAlertSubscriptionFilters:i.stringifyPermission({resource_class:"alert_subscription_filters",ability:s.ABILITIES.view}),getCanDestroyAlertDefinition:function(e){return i.stringifyPermission({resource_class:"AlertDefinition",ability:s.ABILITIES.destroy,resource_id:e})},getCanUpdateAlertDefinition:function(e){return i.stringifyPermission({resource_class:"AlertDefinition",ability:s.ABILITIES.update,resource_id:e})},canCreateAlertDashboard:i.stringifyPermission({resource_class:"alert_dashboard",ability:s.ABILITIES.create}),canUpdateAlertDashboard:i.stringifyPermission({resource_class:"alert_dashboard",ability:s.ABILITIES.edit}),canViewAlertCompanyField:i.stringifyPermission({resource_class:"alert_company_field",ability:s.ABILITIES.view}),canViewDashboardSharingCompany:i.stringifyPermission({resource_class:"dashboard_sharing_company",ability:s.ABILITIES.view}),canViewDashboardSharingSharedWith:i.stringifyPermission({resource_class:"dashboard_sharing_shared_with",ability:s.ABILITIES.view}),canViewConfigPage:i.stringifyPermission({resource_class:"config_page",ability:s.ABILITIES.access}),canAccessRequestApp:i.stringifyPermission({resource_class:"request_app",ability:s.ABILITIES.access}),canAccessUserSettingsWidgets:i.stringifyPermission({resource_class:"user_settings_widgets",ability:s.ABILITIES.access}),canViewDevCenter:i.stringifyPermission({resource_class:"dev_center",ability:s.ABILITIES.access}),getCanReadAppPackages:function(e){return i.stringifyPermission({resource_class:"App",ability:"read_packages",resource_id:e})},canViewAppPackageSelector:i.stringifyPermission({resource_class:"app_package_selector",ability:s.ABILITIES.view}),canAccessProvisioning:i.stringifyPermission({resource_class:"provisioning",ability:s.ABILITIES.access}),getCanUpdateAsset:function(e){return i.stringifyPermission({resource_class:"Asset",ability:s.ABILITIES.update,resource_id:e})},getCanUpdateParentAssetAsset:function(e){return i.stringifyPermission({resource_class:"Asset",ability:"update_parent_asset",resource_id:e})},getCanCopyActivities:function(e){return i.stringifyPermission({resource_class:"Asset",ability:s.ABILITIES.copy_activities,resource_id:e})},canRerunWell:function(e){return i.stringifyPermission({resource_class:"Asset",ability:s.ABILITIES.rerun,resource_id:e})},rigCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"Rig"}),wellCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"Well"}),programCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"Program"}),padCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"Pad"}),padUpdate:i.stringifyPermission({ability:s.ABILITIES.update,resource_class:"Pad"}),canManagePadWells:i.stringifyPermission({ability:"manage_pad_wells",resource_class:"Pad"}),canManagePadFracFleets:i.stringifyPermission({ability:"manage_frac_fleets",resource_class:"Pad"}),fracFleetCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"FracFleet"}),drilloutUnitCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"DrilloutUnit"}),canQCDrillstring:i.stringifyPermission({ability:s.ABILITIES.update,resource_class:"drillstring_qc"}),canCalibrateDrillstring:i.stringifyPermission({ability:s.ABILITIES.update,resource_class:"drillstring_calibration"}),canViewAppOwnersFilter:i.stringifyPermission({ability:s.ABILITIES.view,resource_class:"app_owners_filter"}),canViewSaveOffsetWells:i.stringifyPermission({ability:s.ABILITIES.view,resource_class:"save_offset_wells"}),canViewGenerateDRM:i.stringifyPermission({ability:s.ABILITIES.view,resource_class:"corva.driller_roadmap-generate_drm"}),canUpdateWorkflow:i.stringifyPermission({ability:s.ABILITIES.update,resource_class:"Workflow"}),canViewColumnMapperTemplate:i.stringifyPermission({ability:s.ABILITIES.view,resource_class:"column_mapper_template"}),canPublishDraftTemplate:i.stringifyPermission({ability:s.ABILITIES.publish,resource_class:"AppStoreTemplate"}),canReadAppStoreBuilder:i.stringifyPermission({ability:s.ABILITIES.read,resource_class:"AppStoreTemplateSection"}),canReadResourceAudit:i.stringifyPermission({ability:s.ABILITIES.read,resource_class:"ResourceAudit"}),canAccessPartialRerun:i.stringifyPermission({ability:s.ABILITIES.access,resource_class:"PartialWellRerun"}),canAccessAnalytics:i.stringifyPermission({ability:s.ABILITIES.access,resource_class:"analytics"}),canViewPredictiveDrillingAppExtendedControls:i.stringifyPermission({ability:s.ABILITIES.view,resource_class:"corva.drilling-automation-ui-app-controls"})},r),t);exports.ABILITIES=s.ABILITIES,exports.PERMISSIONS=l;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),i=require("../utils.js"),s=require("./abilities.js"),r=require("./settingsApps.js"),t=require("./appsPermissions.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e);function c(e,i){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);i&&(r=r.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),s.push.apply(s,r)}return s}function o(e){for(var i=1;i<arguments.length;i++){var s=null!=arguments[i]?arguments[i]:{};i%2?c(Object(s),!0).forEach((function(i){n.default(e,i,s[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):c(Object(s)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(s,i))}))}return e}var l=o(o({companySelectorView:i.stringifyPermission({resource_class:"company_selector",ability:s.ABILITIES.view}),userCreate:i.stringifyPermission({resource_class:"User",ability:s.ABILITIES.create}),getUserUpdate:function(e){return i.stringifyPermission({resource_class:"User",ability:s.ABILITIES.update,resource_id:e})},canViewCorvaAppVersion:i.stringifyPermission({resource_class:"corva_app_version",ability:s.ABILITIES.view}),documentationEdit:i.stringifyPermission({resource_class:"Document",ability:s.ABILITIES.edit}),documentationCreate:i.stringifyPermission({resource_class:"Document",ability:s.ABILITIES.create}),documentationDestroy:i.stringifyPermission({resource_class:"Document",ability:s.ABILITIES.destroy}),canUpdateWellQC:i.stringifyPermission({resource_class:"well_qc",ability:s.ABILITIES.update}),getFeedItemDestroy:function(e){return i.stringifyPermission({resource_class:"Activity",ability:s.ABILITIES.destroy,resource_id:e})},getCommentDestroy:function(e){return i.stringifyPermission({resource_class:"Comment",ability:s.ABILITIES.destroy,resource_id:e})},getAlertUpdate:function(e){return i.stringifyPermission({resource_class:"Alert",ability:s.ABILITIES.update,resource_id:e})},getAlertDestroy:function(e){return i.stringifyPermission({resource_class:"Alert",ability:s.ABILITIES.destroy,resource_id:e})},streamVisibilityEdit:i.stringifyPermission({resource_class:"stream",ability:s.ABILITIES.edit}),userImpersonate:i.stringifyPermission({resource_class:"user",ability:s.ABILITIES.impersonate}),getDashboardUpdate:function(e){return i.stringifyPermission({resource_class:"Dashboard",ability:s.ABILITIES.update,resource_id:e})},canCreateDashboard:i.stringifyPermission({resource_class:"Dashboard",ability:s.ABILITIES.create}),canCopyUsers:i.stringifyPermission({resource_class:"Group",ability:s.ABILITIES.copy_users}),canViewDocumentsInfo:i.stringifyPermission({resource_class:"documents_info",ability:s.ABILITIES.view}),canViewCostsInfo:i.stringifyPermission({resource_class:"costs_info",ability:s.ABILITIES.view}),canViewBillingCost:i.stringifyPermission({resource_class:"billing_visualization_cost",ability:s.ABILITIES.view}),canReadBillingInfo:i.stringifyPermission({resource_class:"Usage",ability:s.ABILITIES.read}),canUpdateTiers:i.stringifyPermission({resource_class:"Tier",ability:s.ABILITIES.update}),canReadTiers:i.stringifyPermission({resource_class:"Tier",ability:s.ABILITIES.read}),canCreateTiers:i.stringifyPermission({resource_class:"Tier",ability:s.ABILITIES.create}),canDestroyTiers:i.stringifyPermission({resource_class:"Tier",ability:s.ABILITIES.destroy}),canUpdatePlatformSubscriptions:i.stringifyPermission({resource_class:"PlatformSubscription",ability:s.ABILITIES.update}),canReadPlatformSubscriptions:i.stringifyPermission({resource_class:"PlatformSubscription",ability:s.ABILITIES.read}),canCreatePlatformSubscriptions:i.stringifyPermission({resource_class:"PlatformSubscription",ability:s.ABILITIES.create}),canDestroyPlatformSubscriptions:i.stringifyPermission({resource_class:"PlatformSubscription",ability:s.ABILITIES.destroy}),canViewPurchasesPage:i.stringifyPermission({resource_class:"company_purchase",ability:s.ABILITIES.access}),canReadPermissions:i.stringifyPermission({resource_class:"Permission",ability:s.ABILITIES.read}),canViewUserPermissions:i.stringifyPermission({resource_class:"mng_permissions_user_btn",ability:s.ABILITIES.view}),canViewGroupPermissions:i.stringifyPermission({resource_class:"mng_permissions_group_btn",ability:s.ABILITIES.view}),canShareGroup:i.stringifyPermission({resource_class:"Group",ability:s.ABILITIES.share}),getAppStreamUpdate:function(e){return i.stringifyPermission({resource_class:"AppStream",ability:s.ABILITIES.update,resource_id:e})},canViewAlertValidationFilters:i.stringifyPermission({resource_class:"alert_validation_filters",ability:s.ABILITIES.view}),canViewAlertSubscriptionFilters:i.stringifyPermission({resource_class:"alert_subscription_filters",ability:s.ABILITIES.view}),getCanDestroyAlertDefinition:function(e){return i.stringifyPermission({resource_class:"AlertDefinition",ability:s.ABILITIES.destroy,resource_id:e})},getCanUpdateAlertDefinition:function(e){return i.stringifyPermission({resource_class:"AlertDefinition",ability:s.ABILITIES.update,resource_id:e})},canCreateAlertDashboard:i.stringifyPermission({resource_class:"alert_dashboard",ability:s.ABILITIES.create}),canUpdateAlertDashboard:i.stringifyPermission({resource_class:"alert_dashboard",ability:s.ABILITIES.edit}),canViewAlertCompanyField:i.stringifyPermission({resource_class:"alert_company_field",ability:s.ABILITIES.view}),canViewDashboardSharingCompany:i.stringifyPermission({resource_class:"dashboard_sharing_company",ability:s.ABILITIES.view}),canViewDashboardSharingSharedWith:i.stringifyPermission({resource_class:"dashboard_sharing_shared_with",ability:s.ABILITIES.view}),canViewConfigPage:i.stringifyPermission({resource_class:"config_page",ability:s.ABILITIES.access}),canAccessRequestApp:i.stringifyPermission({resource_class:"request_app",ability:s.ABILITIES.access}),canAccessUserSettingsWidgets:i.stringifyPermission({resource_class:"user_settings_widgets",ability:s.ABILITIES.access}),canViewDevCenter:i.stringifyPermission({resource_class:"dev_center",ability:s.ABILITIES.access}),getCanReadAppPackages:function(e){return i.stringifyPermission({resource_class:"App",ability:"read_packages",resource_id:e})},canViewAppPackageSelector:i.stringifyPermission({resource_class:"app_package_selector",ability:s.ABILITIES.view}),canAccessProvisioning:i.stringifyPermission({resource_class:"provisioning",ability:s.ABILITIES.access}),getCanUpdateAsset:function(e){return i.stringifyPermission({resource_class:"Asset",ability:s.ABILITIES.update,resource_id:e})},getCanUpdateParentAssetAsset:function(e){return i.stringifyPermission({resource_class:"Asset",ability:"update_parent_asset",resource_id:e})},getCanCopyActivities:function(e){return i.stringifyPermission({resource_class:"Asset",ability:s.ABILITIES.copy_activities,resource_id:e})},canRerunWell:function(e){return i.stringifyPermission({resource_class:"Asset",ability:s.ABILITIES.rerun,resource_id:e})},rigCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"Rig"}),wellCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"Well"}),programCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"Program"}),padCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"Pad"}),padUpdate:i.stringifyPermission({ability:s.ABILITIES.update,resource_class:"Pad"}),canManagePadWells:i.stringifyPermission({ability:"manage_pad_wells",resource_class:"Pad"}),canManagePadFracFleets:i.stringifyPermission({ability:"manage_frac_fleets",resource_class:"Pad"}),fracFleetCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"FracFleet"}),drilloutUnitCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"DrilloutUnit"}),canQCDrillstring:i.stringifyPermission({ability:s.ABILITIES.update,resource_class:"drillstring_qc"}),canCalibrateDrillstring:i.stringifyPermission({ability:s.ABILITIES.update,resource_class:"drillstring_calibration"}),canViewAppOwnersFilter:i.stringifyPermission({ability:s.ABILITIES.view,resource_class:"app_owners_filter"}),canViewSaveOffsetWells:i.stringifyPermission({ability:s.ABILITIES.view,resource_class:"save_offset_wells"}),canViewGenerateDRM:i.stringifyPermission({ability:s.ABILITIES.view,resource_class:"corva.driller_roadmap-generate_drm"}),canUpdateWorkflow:i.stringifyPermission({ability:s.ABILITIES.update,resource_class:"Workflow"}),canViewColumnMapperTemplate:i.stringifyPermission({ability:s.ABILITIES.view,resource_class:"column_mapper_template"}),canPublishDraftTemplate:i.stringifyPermission({ability:s.ABILITIES.publish,resource_class:"AppStoreTemplate"}),canReadAppStoreBuilder:i.stringifyPermission({ability:s.ABILITIES.read,resource_class:"AppStoreTemplateSection"}),canReadResourceAudit:i.stringifyPermission({ability:s.ABILITIES.read,resource_class:"ResourceAudit"}),canAccessPartialRerun:i.stringifyPermission({ability:s.ABILITIES.access,resource_class:"PartialWellRerun"}),canAccessAnalytics:i.stringifyPermission({ability:s.ABILITIES.access,resource_class:"analytics"}),canViewPredictiveDrillingAppExtendedControls:i.stringifyPermission({ability:s.ABILITIES.view,resource_class:"corva.drilling-automation-ui-app-controls"}),canAccessStreamX:i.stringifyPermission({ability:s.ABILITIES.access,resource_class:"stream_x"})},r),t);exports.ABILITIES=s.ABILITIES,exports.PERMISSIONS=l;
|
package/clients/index.d.ts
CHANGED
package/clients/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.js"],"names":[],"mappings":";;IAaO,6EAEJ;IACI,2FAEJ;IACM,6FAEN;IACK,yEAEL;IACI,6EAEJ;;;IAII,iEAAuF;;IACvF,+EACiE;;IAC/D,iFACiE;;IAClE,6DAAyE;;IAC1E,iEAAuF;;;;IAMjF;;iCAwBV"}
|
package/clients/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"@babel/runtime/helpers/defineProperty";import{v4 as r}from"uuid";import{noop as e}from"lodash";import*as n from"./clientStorage/index.js";export{n as clientStorage};import*as o from"./jsonApi/index.js";export{o as jsonApi};import*as i from"./subscriptions.js";export{i as subscriptions};import{get as c,put as a,patch as
|
|
1
|
+
import t from"@babel/runtime/helpers/defineProperty";import{v4 as r}from"uuid";import{noop as e}from"lodash";import*as n from"./clientStorage/index.js";export{n as clientStorage};import*as o from"./jsonApi/index.js";export{o as jsonApi};import*as i from"./subscriptions.js";export{i as subscriptions};import{get as c,put as a,patch as s,post as p,del as u}from"./api/apiCore.js";import{CORVA_API_URLS as l}from"./constants.js";import*as f from"./sso/index.js";export{f as sso};function v(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function d(r){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?v(Object(n),!0).forEach((function(e){t(r,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(n,t))}))}return r}var g={get:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c(t,r,e)},put:function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return a(t,r,e,n)},patch:function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return s(t,r,e,n)},post:function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return p(t,r,e)},del:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return u(t,r,e)}},b={get:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return c(t,r,{apiUrl:l.DATA_API})},put:function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return a(t,r,e,{apiUrl:l.DATA_API})},patch:function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return s(t,r,e,{apiUrl:l.DATA_API})},post:function(t,r){return p(t,r,{apiUrl:l.DATA_API})},del:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return u(t,r,{apiUrl:l.DATA_API})}},m={subscribe:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.onDataReceive,i=void 0===o?e:o,c=window[Symbol.for("socket")]||{},a=c.subscribe,s=c.unsubscribe,p=c.socket;if(!p)return console.error("Socket is not initialized!"),e;var u=r(),l=d(d({},t),{},{collection:t.collection||t.dataset,appInstanceId:u});return a(l),p.on("data",(function(t){return t.appInstanceId===u&&i(t)})),function(){return s(l)}}};export{g as corvaAPI,b as corvaDataAPI,m as socketClient};
|
|
@@ -50,7 +50,6 @@ export function deleteFeedItem(feedItemId: any): Promise<any>;
|
|
|
50
50
|
export function getUserAutocomplete(type: any, value: any, companyId: any): Promise<any>;
|
|
51
51
|
export function getS3SignedUrl(filename: any, contentType: any): Promise<any>;
|
|
52
52
|
export function getS3DownloadLink(filename: any, contentDisposition?: string): Promise<any>;
|
|
53
|
-
export function getUserAuthSchemas(email: any): Promise<any>;
|
|
54
53
|
export function getFracFleetWells(options: any): Promise<any>;
|
|
55
54
|
export function getPadWells(padId: any, options: any): Promise<any>;
|
|
56
55
|
export function getTask(taskId: any): Promise<any>;
|
|
@@ -60,6 +59,10 @@ export function getUserSetting(userId: any, settingKey: any): Promise<any>;
|
|
|
60
59
|
export function logout(): Promise<any>;
|
|
61
60
|
export function getPermissionCheck(options?: {}): Promise<any>;
|
|
62
61
|
export function getDashboards(params?: {}): Promise<any>;
|
|
62
|
+
export function loginWithAuth0Token(platform: any, token: any): Promise<any>;
|
|
63
|
+
export function getUserAuthSchemas(queryParams: any): Promise<any>;
|
|
64
|
+
export function getUserAuthPlatform(platform: any): Promise<any>;
|
|
65
|
+
export function postUserAuthTokenExchange(platform: any, code: any): Promise<any>;
|
|
63
66
|
export * from "./postTaskAndWaitResult";
|
|
64
67
|
export function getLASFileList(assetId: any): Promise<any>;
|
|
65
68
|
export function getLASMetadata(assetId: any, fileName: any): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/clients/jsonApi/index.js"],"names":[],"mappings":"AAYA,+CASC;AAED,2DAEC;AAED,qDAEC;AAED,6DAEC;AAED,4DAEC;AAED,oDAEC;AAED,wDAEC;AAED,8DAEC;AAED,sDAEC;AAED,8DAEC;AAED,oDAEC;AAED,0DAEC;AAED,iFAEC;AAED,6DAEC;AAED,wGAEC;AAED,wFAEC;AAED,uGAMC;AAED,6FAIC;AAED,sGAIC;AAED,kHAEC;AAED,sHAIC;AAED,wFAEC;AAED,4FAIC;AAED,sEAEC;AAED,6CAEC;AAED,qDAEC;AAED,6CAEC;AAED,8DAEC;AAwED;;;KAGK;AACL,8CAHW,MAAM,sBAoBhB;AAED,sEASC;AA+CD,4EAKC;AAED,kFAIC;AAED,kEAEC;AAED,8FAMC;AAED,8GAMC;AAED,qEAEC;AAED,qFAEC;AAED,qFAEC;AAED,2DAEC;AAED,kGAEC;AAED,iFAEC;AAED,qFAEC;AAED,kEAEC;AAED,4EAEC;AAED,8DAEC;AAED,yFAWC;AAED,8EAEC;AAED,4FAKC;AAMD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/clients/jsonApi/index.js"],"names":[],"mappings":"AAYA,+CASC;AAED,2DAEC;AAED,qDAEC;AAED,6DAEC;AAED,4DAEC;AAED,oDAEC;AAED,wDAEC;AAED,8DAEC;AAED,sDAEC;AAED,8DAEC;AAED,oDAEC;AAED,0DAEC;AAED,iFAEC;AAED,6DAEC;AAED,wGAEC;AAED,wFAEC;AAED,uGAMC;AAED,6FAIC;AAED,sGAIC;AAED,kHAEC;AAED,sHAIC;AAED,wFAEC;AAED,4FAIC;AAED,sEAEC;AAED,6CAEC;AAED,qDAEC;AAED,6CAEC;AAED,8DAEC;AAwED;;;KAGK;AACL,8CAHW,MAAM,sBAoBhB;AAED,sEASC;AA+CD,4EAKC;AAED,kFAIC;AAED,kEAEC;AAED,8FAMC;AAED,8GAMC;AAED,qEAEC;AAED,qFAEC;AAED,qFAEC;AAED,2DAEC;AAED,kGAEC;AAED,iFAEC;AAED,qFAEC;AAED,kEAEC;AAED,4EAEC;AAED,8DAEC;AAED,yFAWC;AAED,8EAEC;AAED,4FAKC;AAMD,8DAEC;AAED,oEAEC;AAED,mDAEC;AAED,qDAEC;AAwDD,qFAEC;AAED,2EAEC;AAED,uCAEC;AAED,+DAEC;AAED,yDAEC;AAED,6EAKC;AAED,mEAEC;AAED,iEAEC;AAED,kFAEC;;AArWM,2DAyBN;AAEM,0EAQN;AAEM,iGAoBN;AAEM;;;;mBAKN;AAEM;;;iBAEN;AAoCM,wEAEN;AAEM,uEAEN;AAEM;;;iBAKN;AAEM,yFAEN;AAEM,8EAEN;AAEM,mFAEN;AAEM;;;;iBAMN;AAEM;;;;;iBAQN;AAmGM,2EAEN;AAkBM,mEAEN;AAEM,2EAEN;AAEM;;;iBAWN;AAEM;;;iBAON;AAEM,8EAEN;AAEM,2FAGN;AAEM,qDAaN"}
|
package/clients/jsonApi/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"@babel/runtime/helpers/defineProperty";import n from"@babel/runtime/helpers/asyncToGenerator";import r from"@babel/runtime/regenerator";import{range as e,flattenDepth as a}from"lodash";import*as c from"query-string";import{APIException as u,baseUrl as p,get as s,post as o,del as i,put as f,sendFormData as l,patch as h}from"../api/apiCore.js";import{CORVA_API_URLS as v}from"../constants.js";export{postTaskAndWaitResult}from"./postTaskAndWaitResult.js";function d(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),r.push.apply(r,e)}return r}function m(n){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?d(Object(e),!0).forEach((function(r){t(n,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):d(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function y(){return w.apply(this,arguments)}function w(){return(w=n(r.mark((function t(){var n,e;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch("".concat(p,"/v1/users/current"),{credentials:"include"});case 2:return n=t.sent,t.next=5,n.json();case 5:if(e=t.sent,null!=n&&n.ok){t.next=8;break}throw new u(n,e);case 8:return t.abrupt("return",e);case 9:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function _(){return b.apply(this,arguments)}function b(){return b=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",s("/v2/integration/wellview/bha",n));case 2:case"end":return t.stop()}}),t)}))),b.apply(this,arguments)}function g(t){return k.apply(this,arguments)}function k(){return(k=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v2/wells",n));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function x(t){return O.apply(this,arguments)}function O(){return O=n(r.mark((function t(n){var e,a=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=a.length>1&&void 0!==a[1]?a[1]:{},t.abrupt("return",s("/v2/wells/".concat(n),e));case 2:case"end":return t.stop()}}),t)}))),O.apply(this,arguments)}function j(t){return A.apply(this,arguments)}function A(){return A=n(r.mark((function t(n){var e,a=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=a.length>1&&void 0!==a[1]?a[1]:{},t.abrupt("return",s("/v2/rigs/".concat(n),e));case 2:case"end":return t.stop()}}),t)}))),A.apply(this,arguments)}function P(){return $.apply(this,arguments)}function $(){return $=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",s("/v2/rigs",n));case 2:case"end":return t.stop()}}),t)}))),$.apply(this,arguments)}function I(){return D.apply(this,arguments)}function D(){return D=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",s("/v2/programs",n));case 2:case"end":return t.stop()}}),t)}))),D.apply(this,arguments)}function T(t){return U.apply(this,arguments)}function U(){return U=n(r.mark((function t(n){var e,a=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=a.length>1&&void 0!==a[1]?a[1]:{},t.abrupt("return",s("/v2/assets/".concat(n),e));case 2:case"end":return t.stop()}}),t)}))),U.apply(this,arguments)}function q(){return C.apply(this,arguments)}function C(){return C=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",s("/v2/assets",n));case 2:case"end":return t.stop()}}),t)}))),C.apply(this,arguments)}function N(){return R.apply(this,arguments)}function R(){return R=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",o("/v2/assets/resolve",n));case 2:case"end":return t.stop()}}),t)}))),R.apply(this,arguments)}function S(){return E.apply(this,arguments)}function E(){return E=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",s("/v2/pads",n));case 2:case"end":return t.stop()}}),t)}))),E.apply(this,arguments)}function J(){return K.apply(this,arguments)}function K(){return K=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",s("/v2/frac_fleets",n));case 2:case"end":return t.stop()}}),t)}))),K.apply(this,arguments)}function W(t){return F.apply(this,arguments)}function F(){return F=n(r.mark((function t(n){var e,a=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=a.length>1&&void 0!==a[1]?a[1]:{},t.abrupt("return",s("/v2/drillout_units/".concat(n),e));case 2:case"end":return t.stop()}}),t)}))),F.apply(this,arguments)}function G(){return M.apply(this,arguments)}function M(){return M=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",s("/v2/drillout_units",n));case 2:case"end":return t.stop()}}),t)}))),M.apply(this,arguments)}function z(t,n,r){return B.apply(this,arguments)}function B(){return(B=n(r.mark((function t(n,e,a){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i("/v1/data/".concat(n,"/").concat(e),a));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function H(t,n,r){return L.apply(this,arguments)}function L(){return(L=n(r.mark((function t(n,e,a){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i("/v1/data/".concat(n,"/").concat(e,"/").concat(a)));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Q(t,n,r){return V.apply(this,arguments)}function V(){return V=n(r.mark((function t(n,e,a){var c,u=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=u.length>3&&void 0!==u[3]?u[3]:{},t.abrupt("return",s("/v1/data/".concat(n,"/").concat(e),m(m({},c),{},{asset_id:a}),{appKey:c.appKey}));case 2:case"end":return t.stop()}}),t)}))),V.apply(this,arguments)}function X(t,n){return Y.apply(this,arguments)}function Y(){return Y=n(r.mark((function t(n,e){var a,c=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=c.length>2&&void 0!==c[2]?c[2]:{},t.abrupt("return",s("/api/v1/data/".concat(n,"/").concat(e,"/"),a,{apiUrl:v.DATA_API}));case 2:case"end":return t.stop()}}),t)}))),Y.apply(this,arguments)}function Z(t,n){return tt.apply(this,arguments)}function tt(){return tt=n(r.mark((function t(n,e){var a,c=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=c.length>2&&void 0!==c[2]?c[2]:{},t.abrupt("return",s("/api/v1/data/".concat(n,"/").concat(e,"/aggregate/"),a,{apiUrl:v.DATA_API}));case 2:case"end":return t.stop()}}),t)}))),tt.apply(this,arguments)}function nt(t,n,r,e){return rt.apply(this,arguments)}function rt(){return rt=n(r.mark((function t(n,e,a,c){var u,p=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return u=p.length>4&&void 0!==p[4]?p[4]:{},t.abrupt("return",f("/v1/data/".concat(n,"/").concat(e,"/").concat(a),c,u));case 2:case"end":return t.stop()}}),t)}))),rt.apply(this,arguments)}function et(t,n,r,e,a){return at.apply(this,arguments)}function at(){return(at=n(r.mark((function t(n,e,a,c,u){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",f("/api/v1/data/".concat(n,"/").concat(e,"/").concat(a),c,u,{apiUrl:v.DATA_API}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function ct(t,n,r){return ut.apply(this,arguments)}function ut(){return(ut=n(r.mark((function t(n,e,a){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o("/v1/data/".concat(n,"/").concat(e),a));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function pt(t,n,r){return st.apply(this,arguments)}function st(){return(st=n(r.mark((function t(n,e,a){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o("/api/v1/data/".concat(n,"/").concat(e),a,{apiUrl:v.DATA_API}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function ot(t){return it.apply(this,arguments)}function it(){return(it=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v1/competitor_analysis",n));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function ft(){return lt.apply(this,arguments)}function lt(){return(lt=n(r.mark((function t(){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v1/companies"));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function ht(t){return vt.apply(this,arguments)}function vt(){return(vt=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v2/picklists/".concat(n)));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function dt(){return mt.apply(this,arguments)}function mt(){return(mt=n(r.mark((function t(){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v2/favorites"));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function yt(t){return wt.apply(this,arguments)}function wt(){return(wt=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v1/companies/".concat(n,"/settings/company_goals")));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var _t,bt,gt,kt,xt=(_t=n(r.mark((function t(n){var e,a,c,u;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={asset_id:+n},a={_id:"$file",name:{$first:"$file"},timestamp:{$first:"$timestamp"}},c={timestamp:-1},u={aggregate:JSON.stringify([{$match:e},{$group:a},{$sort:c}])},t.prev=4,t.next=7,Q("corva","formation-evaluation.metadata",n,u);case 7:return t.abrupt("return",t.sent);case 10:return t.prev=10,t.t0=t.catch(4),console.error(t.t0),t.abrupt("return",[]);case 14:case"end":return t.stop()}}),t,null,[[4,10]])}))),function(t){return _t.apply(this,arguments)}),Ot=(bt=n(r.mark((function t(n,e){var a;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a="{asset_id#eq#".concat(n,"}AND{file#eq#'").concat(e,"'}"),t.prev=1,t.next=4,Q("corva","formation-evaluation.metadata",n,{query:a});case 4:return t.abrupt("return",t.sent);case 7:return t.prev=7,t.t0=t.catch(1),console.error(t.t0),t.abrupt("return",[]);case 11:case"end":return t.stop()}}),t,null,[[1,7]])}))),function(t,n){return bt.apply(this,arguments)}),jt=(gt=n(r.mark((function t(n,e,a){var c,u,p,s,o,i;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c={asset_id:+n,"metadata.file":e},u=1e4*a,p={"data.md":1},s={data:"$data"},o={aggregate:JSON.stringify([{$match:c},{$sort:p},{$skip:u},{$limit:1e4},{$project:s}])},t.prev=6,t.next=9,Q("corva","formation-evaluation.data",n,o);case 9:return i=t.sent,t.abrupt("return",i);case 13:return t.prev=13,t.t0=t.catch(6),console.error(t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,null,[[6,13]])}))),function(t,n,r){return gt.apply(this,arguments)}),At=(kt=n(r.mark((function t(n){var c,u,p,s,o;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=n.assetId,u=n.fileName,p=n.recordsCount,s=Math.ceil(p/1e4),o=e(s).map((function(t){return jt(c,u,t)})),t.abrupt("return",Promise.all(o).then((function(t){return a(t)})));case 4:case"end":return t.stop()}}),t)}))),function(t){return kt.apply(this,arguments)}),Pt=function(t){var n=t.assetId,r=t.segment,e=void 0===r?"drilling":r;return s("/v1/app_streams?asset_id=".concat(n,"&segment=").concat(e))};function $t(t){switch(t){case"program":return I;case"rig":return P;case"well":return g;case"frac_fleet":return J;case"drillout_unit":return G;case"pad":return S;default:return q}}function It(t){switch(t){case"rig":return j;case"well":return x;default:return T}}var Dt=function(t,n){return s("/v2/apps/".concat(t,"/app_media"),n)},Tt=function(t,n){return i("/v2/apps/".concat(t,"/app_media/").concat(n),null)},Ut=function(t,n){var r=n.file,e=n.mediaType;return l("/v2/apps/".concat(t,"/app_media"),{"app_media[media_type]":e,"app_media[file]":r})},qt=function(t,n,r){return h("/v2/apps/".concat(t,"/app_media/").concat(n),{app_media:r})},Ct=function(t,n){return s("/v2/apps/".concat(t,"/app_help_contents"),n)},Nt=function(t,n){return i("/v2/apps/".concat(t,"/app_help_contents/").concat(n),null)},Rt=function(t,n){var r=n.title,e=n.description,a=n.url;return l("/v2/apps/".concat(t,"/app_help_contents"),{"app_help_content[title]":r,"app_help_content[description]":e,"app_help_content[url]":a})},St=function(t,n,r){var e=r.title,a=r.description,c=r.url,u=r.position;return h("/v2/apps/".concat(t,"/app_help_contents/").concat(n),{app_help_content:{title:e,description:a,url:c,position:u}})};function Et(t){return Jt.apply(this,arguments)}function Jt(){return Jt=n(r.mark((function t(n){var e,a=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=a.length>1&&void 0!==a[1]?a[1]:{},t.abrupt("return",o("/v2/dashboard_app_annotations",m({app_annotation:n},e)));case 2:case"end":return t.stop()}}),t)}))),Jt.apply(this,arguments)}function Kt(t,n){return Wt.apply(this,arguments)}function Wt(){return(Wt=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",h("/v2/dashboard_app_annotations/".concat(n),{app_annotation:e}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Ft(t){return Gt.apply(this,arguments)}function Gt(){return(Gt=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i("/v2/dashboard_app_annotations/".concat(n)));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Mt(t,n){return zt.apply(this,arguments)}function zt(){return zt=n(r.mark((function t(n,e){var a,c=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=c.length>2&&void 0!==c[2]?c[2]:{},t.abrupt("return",s("/v2/dashboard_app_annotations",m({app_id:n,asset_id:e},a)));case 2:case"end":return t.stop()}}),t)}))),zt.apply(this,arguments)}function Bt(t,n,r){return Ht.apply(this,arguments)}function Ht(){return(Ht=n(r.mark((function t(n,e,a){var c;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c={dashboard_id:n},e&&(c.asset_id=e),a&&(c.parent_asset_id=a),t.abrupt("return",s("/v2/dashboard_app_annotations/last_annotations",c));case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Lt(t){return Qt.apply(this,arguments)}function Qt(){return(Qt=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",h("/v2/dashboard_app_annotations/".concat(n,"/close")));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Vt(t,n){return Xt.apply(this,arguments)}function Xt(){return(Xt=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o("/v2/dashboard_app_annotations/".concat(n,"/comments/"),e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Yt(t){return Zt.apply(this,arguments)}function Zt(){return Zt=n(r.mark((function t(n){var e,a=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=a.length>1&&void 0!==a[1]?a[1]:{},t.abrupt("return",s("/v2/dashboard_app_annotations/".concat(n,"/comments/"),e));case 2:case"end":return t.stop()}}),t)}))),Zt.apply(this,arguments)}function tn(t){return"".concat(p,"/v1/file/download?file_name=").concat(t)}function nn(t,n,r){return rn.apply(this,arguments)}function rn(){return(rn=n(r.mark((function t(n,e,a){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",h("/v1/activities/".concat(n,"/comments/").concat(e),a));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function en(t,n){return an.apply(this,arguments)}function an(){return(an=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o("/v1/activities/".concat(n,"/comments"),e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function cn(t,n){return un.apply(this,arguments)}function un(){return(un=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i("/v1/activities/".concat(n,"/comments/").concat(e)));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function pn(t){return sn.apply(this,arguments)}function sn(){return(sn=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o("/v1/activities/".concat(n,"/likes/toggle")));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function on(t,n){return fn.apply(this,arguments)}function fn(){return(fn=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",h("/v1/activities/".concat(n),e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function ln(t){return hn.apply(this,arguments)}function hn(){return(hn=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i("/v1/activities/".concat(n)));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function vn(t,n,r){return dn.apply(this,arguments)}function dn(){return(dn=n(r.mark((function t(n,e,a){var c;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c={type:n},e&&(c.search=e),a&&(c.company_id=a),t.abrupt("return",s("/v1/users/autocomplete",c));case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function mn(t,n){return yn.apply(this,arguments)}function yn(){return(yn=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v1/file/sign?file_name=".concat(encodeURIComponent(n),"&contentType=").concat(e)));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function wn(t){return _n.apply(this,arguments)}function _n(){return _n=n(r.mark((function t(n){var e,a=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=a.length>1&&void 0!==a[1]?a[1]:"attachment",t.abrupt("return",s("/v1/file/download_link?file_name=".concat(encodeURIComponent(n),"&response_content_disposition=").concat(e),{}));case 2:case"end":return t.stop()}}),t)}))),_n.apply(this,arguments)}var bn=function(t,n){return s("/v2/apps/".concat(t,"/packages"),n)};function gn(t){return kn.apply(this,arguments)}function kn(){return(kn=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v1/sessions/schemas",{email:n,with_provider:!0}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function xn(t){return On.apply(this,arguments)}function On(){return(On=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v2/frac_fleets/wells",n));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function jn(t,n){return An.apply(this,arguments)}function An(){return(An=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v2/pads/".concat(n,"/app_wells"),e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Pn(t){return $n.apply(this,arguments)}function $n(){return($n=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v2/tasks/".concat(n),{}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function In(){return Dn.apply(this,arguments)}function Dn(){return Dn=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",o("/v2/tasks",n));case 2:case"end":return t.stop()}}),t)}))),Dn.apply(this,arguments)}var Tn=function(t){return s("/v2/apps/".concat(t,"/app_settings_templates"),{})},Un=function(t,n){return s("/v2/apps/".concat(t,"/app_settings_templates/").concat(n),{})},qn=function(t,n,r){var e=r.name,a=r.settings;return h("/v2/apps/".concat(t,"/app_settings_templates/").concat(n),{app_settings_template:{name:e,settings:a}},{})},Cn=function(t,n){var r=n.name,e=n.settings;return o("/v2/apps/".concat(t,"/app_settings_templates"),{app_settings_template:{name:r,settings:e}})},Nn=function(t,n){return i("/v2/apps/".concat(t,"/app_settings_templates/").concat(n),{})},Rn=function(t,n,r){var e=c.stringify({user_id:r},{arrayFormat:"bracket"});return o("/v2/apps/".concat(t,"/app_settings_templates/").concat(n,"/share?").concat(e),{})},Sn=function(t){var n=t.page,r=t.perPage,e=void 0===r?1e3:r,a=t.sort,c=t.order,u=t.search,p=t.companyId,o=t.ids;return s("/v1/users",{page:n,per_page:e,sort:a,order:c,ids:o,search:""!==u?u:void 0,company_id:null!==p?p:void 0})};function En(t,n){return Jn.apply(this,arguments)}function Jn(){return(Jn=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o("/v1/users/".concat(n,"/settings"),e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Kn(t,n){return Wn.apply(this,arguments)}function Wn(){return(Wn=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v1/users/".concat(n,"/settings/").concat(e)));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Fn(){return Gn.apply(this,arguments)}function Gn(){return(Gn=n(r.mark((function t(){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o("/v1/logout"));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Mn(){return zn.apply(this,arguments)}function zn(){return zn=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",s("/v2/ability_check/check_permission",n,{isImmutable:!1}));case 2:case"end":return t.stop()}}),t)}))),zn.apply(this,arguments)}function Bn(){return Hn.apply(this,arguments)}function Hn(){return Hn=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",s("/v2/dashboards",n));case 2:case"end":return t.stop()}}),t)}))),Hn.apply(this,arguments)}export{Lt as closeLastAnnotation,Ft as deleteAnnotation,Nt as deleteAppHelpContent,Tt as deleteAppMedia,Nn as deleteAppSettingsTemplate,H as deleteAppStorage,z as deleteAppStorageRecords,ln as deleteFeedItem,cn as deleteFeedItemComment,At as getAllLASFileData,Yt as getAnnotationComments,Mt as getAnnotations,Ct as getAppHelpContent,Dt as getAppMedia,bn as getAppPackages,Un as getAppSettingsTemplate,Tn as getAppSettingsTemplates,Q as getAppStorage,T as getAsset,q as getAssets,ft as getCompanies,yt as getCompanyGoals,ot as getCompetitorAnalysisData,y as getCurrentUser,Bt as getDashboardLastAnnotations,Bn as getDashboards,X as getDataAppStorage,Z as getDataAppStorageAggregate,W as getDrilloutUnit,G as getDrilloutUnits,dt as getFavorites,tn as getFileDownloadLink,xn as getFracFleetWells,J as getFracFleets,jt as getLASFileDataByPage,xt as getLASFileList,Ot as getLASMetadata,jn as getPadWells,S as getPads,Mn as getPermissionCheck,ht as getPicklist,I as getPrograms,N as getResolvedAssets,j as getRig,P as getRigs,wn as getS3DownloadLink,mn as getS3SignedUrl,Pt as getStreams,Pn as getTask,gn as getUserAuthSchemas,vn as getUserAutocomplete,Kn as getUserSetting,Sn as getUsers,x as getWell,_ as getWellViewBha,g as getWells,Fn as logout,It as mapAssetByIdGetRequest,$t as mapAssetGetRequest,Kt as patchAnnotation,qn as patchAppSettingsTemplate,on as patchFeedItem,nn as patchFeedItemComment,Et as postAnnotation,Vt as postAnnotationComment,Cn as postAppSettingsTemplate,ct as postAppStorage,pt as postDataAppStorage,en as postFeedItemComment,In as postTask,nt as putAppStorage,et as putDataAppStorage,En as setCurrentUserSettings,Rn as shareAppSettingsTemplate,pn as toggleFeedItemLike,St as updateAppHelpContent,qt as updateAppMedia,Rt as uploadAppHelpContent,Ut as uploadAppMedia};
|
|
1
|
+
import t from"@babel/runtime/helpers/defineProperty";import n from"@babel/runtime/helpers/asyncToGenerator";import r from"@babel/runtime/regenerator";import{range as e,flattenDepth as a}from"lodash";import*as c from"query-string";import{APIException as u,baseUrl as p,get as s,post as o,del as i,put as f,sendFormData as l,patch as h}from"../api/apiCore.js";import{CORVA_API_URLS as v}from"../constants.js";export{postTaskAndWaitResult}from"./postTaskAndWaitResult.js";function d(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),r.push.apply(r,e)}return r}function m(n){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?d(Object(e),!0).forEach((function(r){t(n,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):d(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function y(){return w.apply(this,arguments)}function w(){return(w=n(r.mark((function t(){var n,e;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch("".concat(p,"/v1/users/current"),{credentials:"include"});case 2:return n=t.sent,t.next=5,n.json();case 5:if(e=t.sent,null!=n&&n.ok){t.next=8;break}throw new u(n,e);case 8:return t.abrupt("return",e);case 9:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function b(){return _.apply(this,arguments)}function _(){return _=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",s("/v2/integration/wellview/bha",n));case 2:case"end":return t.stop()}}),t)}))),_.apply(this,arguments)}function g(t){return k.apply(this,arguments)}function k(){return(k=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v2/wells",n));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function x(t){return O.apply(this,arguments)}function O(){return O=n(r.mark((function t(n){var e,a=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=a.length>1&&void 0!==a[1]?a[1]:{},t.abrupt("return",s("/v2/wells/".concat(n),e));case 2:case"end":return t.stop()}}),t)}))),O.apply(this,arguments)}function j(t){return A.apply(this,arguments)}function A(){return A=n(r.mark((function t(n){var e,a=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=a.length>1&&void 0!==a[1]?a[1]:{},t.abrupt("return",s("/v2/rigs/".concat(n),e));case 2:case"end":return t.stop()}}),t)}))),A.apply(this,arguments)}function P(){return $.apply(this,arguments)}function $(){return $=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",s("/v2/rigs",n));case 2:case"end":return t.stop()}}),t)}))),$.apply(this,arguments)}function I(){return D.apply(this,arguments)}function D(){return D=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",s("/v2/programs",n));case 2:case"end":return t.stop()}}),t)}))),D.apply(this,arguments)}function T(t){return U.apply(this,arguments)}function U(){return U=n(r.mark((function t(n){var e,a=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=a.length>1&&void 0!==a[1]?a[1]:{},t.abrupt("return",s("/v2/assets/".concat(n),e));case 2:case"end":return t.stop()}}),t)}))),U.apply(this,arguments)}function q(){return C.apply(this,arguments)}function C(){return C=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",s("/v2/assets",n));case 2:case"end":return t.stop()}}),t)}))),C.apply(this,arguments)}function N(){return R.apply(this,arguments)}function R(){return R=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",o("/v2/assets/resolve",n));case 2:case"end":return t.stop()}}),t)}))),R.apply(this,arguments)}function S(){return E.apply(this,arguments)}function E(){return E=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",s("/v2/pads",n));case 2:case"end":return t.stop()}}),t)}))),E.apply(this,arguments)}function J(){return K.apply(this,arguments)}function K(){return K=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",s("/v2/frac_fleets",n));case 2:case"end":return t.stop()}}),t)}))),K.apply(this,arguments)}function W(t){return F.apply(this,arguments)}function F(){return F=n(r.mark((function t(n){var e,a=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=a.length>1&&void 0!==a[1]?a[1]:{},t.abrupt("return",s("/v2/drillout_units/".concat(n),e));case 2:case"end":return t.stop()}}),t)}))),F.apply(this,arguments)}function G(){return M.apply(this,arguments)}function M(){return M=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",s("/v2/drillout_units",n));case 2:case"end":return t.stop()}}),t)}))),M.apply(this,arguments)}function z(t,n,r){return B.apply(this,arguments)}function B(){return(B=n(r.mark((function t(n,e,a){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i("/v1/data/".concat(n,"/").concat(e),a));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function H(t,n,r){return L.apply(this,arguments)}function L(){return(L=n(r.mark((function t(n,e,a){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i("/v1/data/".concat(n,"/").concat(e,"/").concat(a)));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Q(t,n,r){return V.apply(this,arguments)}function V(){return V=n(r.mark((function t(n,e,a){var c,u=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=u.length>3&&void 0!==u[3]?u[3]:{},t.abrupt("return",s("/v1/data/".concat(n,"/").concat(e),m(m({},c),{},{asset_id:a}),{appKey:c.appKey}));case 2:case"end":return t.stop()}}),t)}))),V.apply(this,arguments)}function X(t,n){return Y.apply(this,arguments)}function Y(){return Y=n(r.mark((function t(n,e){var a,c=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=c.length>2&&void 0!==c[2]?c[2]:{},t.abrupt("return",s("/api/v1/data/".concat(n,"/").concat(e,"/"),a,{apiUrl:v.DATA_API}));case 2:case"end":return t.stop()}}),t)}))),Y.apply(this,arguments)}function Z(t,n){return tt.apply(this,arguments)}function tt(){return tt=n(r.mark((function t(n,e){var a,c=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=c.length>2&&void 0!==c[2]?c[2]:{},t.abrupt("return",s("/api/v1/data/".concat(n,"/").concat(e,"/aggregate/"),a,{apiUrl:v.DATA_API}));case 2:case"end":return t.stop()}}),t)}))),tt.apply(this,arguments)}function nt(t,n,r,e){return rt.apply(this,arguments)}function rt(){return rt=n(r.mark((function t(n,e,a,c){var u,p=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return u=p.length>4&&void 0!==p[4]?p[4]:{},t.abrupt("return",f("/v1/data/".concat(n,"/").concat(e,"/").concat(a),c,u));case 2:case"end":return t.stop()}}),t)}))),rt.apply(this,arguments)}function et(t,n,r,e,a){return at.apply(this,arguments)}function at(){return(at=n(r.mark((function t(n,e,a,c,u){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",f("/api/v1/data/".concat(n,"/").concat(e,"/").concat(a),c,u,{apiUrl:v.DATA_API}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function ct(t,n,r){return ut.apply(this,arguments)}function ut(){return(ut=n(r.mark((function t(n,e,a){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o("/v1/data/".concat(n,"/").concat(e),a));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function pt(t,n,r){return st.apply(this,arguments)}function st(){return(st=n(r.mark((function t(n,e,a){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o("/api/v1/data/".concat(n,"/").concat(e),a,{apiUrl:v.DATA_API}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function ot(t){return it.apply(this,arguments)}function it(){return(it=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v1/competitor_analysis",n));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function ft(){return lt.apply(this,arguments)}function lt(){return(lt=n(r.mark((function t(){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v1/companies"));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function ht(t){return vt.apply(this,arguments)}function vt(){return(vt=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v2/picklists/".concat(n)));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function dt(){return mt.apply(this,arguments)}function mt(){return(mt=n(r.mark((function t(){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v2/favorites"));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function yt(t){return wt.apply(this,arguments)}function wt(){return(wt=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v1/companies/".concat(n,"/settings/company_goals")));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var bt,_t,gt,kt,xt=(bt=n(r.mark((function t(n){var e,a,c,u;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={asset_id:+n},a={_id:"$file",name:{$first:"$file"},timestamp:{$first:"$timestamp"}},c={timestamp:-1},u={aggregate:JSON.stringify([{$match:e},{$group:a},{$sort:c}])},t.prev=4,t.next=7,Q("corva","formation-evaluation.metadata",n,u);case 7:return t.abrupt("return",t.sent);case 10:return t.prev=10,t.t0=t.catch(4),console.error(t.t0),t.abrupt("return",[]);case 14:case"end":return t.stop()}}),t,null,[[4,10]])}))),function(t){return bt.apply(this,arguments)}),Ot=(_t=n(r.mark((function t(n,e){var a;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a="{asset_id#eq#".concat(n,"}AND{file#eq#'").concat(e,"'}"),t.prev=1,t.next=4,Q("corva","formation-evaluation.metadata",n,{query:a});case 4:return t.abrupt("return",t.sent);case 7:return t.prev=7,t.t0=t.catch(1),console.error(t.t0),t.abrupt("return",[]);case 11:case"end":return t.stop()}}),t,null,[[1,7]])}))),function(t,n){return _t.apply(this,arguments)}),jt=(gt=n(r.mark((function t(n,e,a){var c,u,p,s,o,i;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c={asset_id:+n,"metadata.file":e},u=1e4*a,p={"data.md":1},s={data:"$data"},o={aggregate:JSON.stringify([{$match:c},{$sort:p},{$skip:u},{$limit:1e4},{$project:s}])},t.prev=6,t.next=9,Q("corva","formation-evaluation.data",n,o);case 9:return i=t.sent,t.abrupt("return",i);case 13:return t.prev=13,t.t0=t.catch(6),console.error(t.t0),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,null,[[6,13]])}))),function(t,n,r){return gt.apply(this,arguments)}),At=(kt=n(r.mark((function t(n){var c,u,p,s,o;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=n.assetId,u=n.fileName,p=n.recordsCount,s=Math.ceil(p/1e4),o=e(s).map((function(t){return jt(c,u,t)})),t.abrupt("return",Promise.all(o).then((function(t){return a(t)})));case 4:case"end":return t.stop()}}),t)}))),function(t){return kt.apply(this,arguments)}),Pt=function(t){var n=t.assetId,r=t.segment,e=void 0===r?"drilling":r;return s("/v1/app_streams?asset_id=".concat(n,"&segment=").concat(e))};function $t(t){switch(t){case"program":return I;case"rig":return P;case"well":return g;case"frac_fleet":return J;case"drillout_unit":return G;case"pad":return S;default:return q}}function It(t){switch(t){case"rig":return j;case"well":return x;default:return T}}var Dt=function(t,n){return s("/v2/apps/".concat(t,"/app_media"),n)},Tt=function(t,n){return i("/v2/apps/".concat(t,"/app_media/").concat(n),null)},Ut=function(t,n){var r=n.file,e=n.mediaType;return l("/v2/apps/".concat(t,"/app_media"),{"app_media[media_type]":e,"app_media[file]":r})},qt=function(t,n,r){return h("/v2/apps/".concat(t,"/app_media/").concat(n),{app_media:r})},Ct=function(t,n){return s("/v2/apps/".concat(t,"/app_help_contents"),n)},Nt=function(t,n){return i("/v2/apps/".concat(t,"/app_help_contents/").concat(n),null)},Rt=function(t,n){var r=n.title,e=n.description,a=n.url;return l("/v2/apps/".concat(t,"/app_help_contents"),{"app_help_content[title]":r,"app_help_content[description]":e,"app_help_content[url]":a})},St=function(t,n,r){var e=r.title,a=r.description,c=r.url,u=r.position;return h("/v2/apps/".concat(t,"/app_help_contents/").concat(n),{app_help_content:{title:e,description:a,url:c,position:u}})};function Et(t){return Jt.apply(this,arguments)}function Jt(){return Jt=n(r.mark((function t(n){var e,a=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=a.length>1&&void 0!==a[1]?a[1]:{},t.abrupt("return",o("/v2/dashboard_app_annotations",m({app_annotation:n},e)));case 2:case"end":return t.stop()}}),t)}))),Jt.apply(this,arguments)}function Kt(t,n){return Wt.apply(this,arguments)}function Wt(){return(Wt=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",h("/v2/dashboard_app_annotations/".concat(n),{app_annotation:e}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Ft(t){return Gt.apply(this,arguments)}function Gt(){return(Gt=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i("/v2/dashboard_app_annotations/".concat(n)));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Mt(t,n){return zt.apply(this,arguments)}function zt(){return zt=n(r.mark((function t(n,e){var a,c=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=c.length>2&&void 0!==c[2]?c[2]:{},t.abrupt("return",s("/v2/dashboard_app_annotations",m({app_id:n,asset_id:e},a)));case 2:case"end":return t.stop()}}),t)}))),zt.apply(this,arguments)}function Bt(t,n,r){return Ht.apply(this,arguments)}function Ht(){return(Ht=n(r.mark((function t(n,e,a){var c;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c={dashboard_id:n},e&&(c.asset_id=e),a&&(c.parent_asset_id=a),t.abrupt("return",s("/v2/dashboard_app_annotations/last_annotations",c));case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Lt(t){return Qt.apply(this,arguments)}function Qt(){return(Qt=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",h("/v2/dashboard_app_annotations/".concat(n,"/close")));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Vt(t,n){return Xt.apply(this,arguments)}function Xt(){return(Xt=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o("/v2/dashboard_app_annotations/".concat(n,"/comments/"),e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Yt(t){return Zt.apply(this,arguments)}function Zt(){return Zt=n(r.mark((function t(n){var e,a=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=a.length>1&&void 0!==a[1]?a[1]:{},t.abrupt("return",s("/v2/dashboard_app_annotations/".concat(n,"/comments/"),e));case 2:case"end":return t.stop()}}),t)}))),Zt.apply(this,arguments)}function tn(t){return"".concat(p,"/v1/file/download?file_name=").concat(t)}function nn(t,n,r){return rn.apply(this,arguments)}function rn(){return(rn=n(r.mark((function t(n,e,a){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",h("/v1/activities/".concat(n,"/comments/").concat(e),a));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function en(t,n){return an.apply(this,arguments)}function an(){return(an=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o("/v1/activities/".concat(n,"/comments"),e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function cn(t,n){return un.apply(this,arguments)}function un(){return(un=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i("/v1/activities/".concat(n,"/comments/").concat(e)));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function pn(t){return sn.apply(this,arguments)}function sn(){return(sn=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o("/v1/activities/".concat(n,"/likes/toggle")));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function on(t,n){return fn.apply(this,arguments)}function fn(){return(fn=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",h("/v1/activities/".concat(n),e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function ln(t){return hn.apply(this,arguments)}function hn(){return(hn=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",i("/v1/activities/".concat(n)));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function vn(t,n,r){return dn.apply(this,arguments)}function dn(){return(dn=n(r.mark((function t(n,e,a){var c;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c={type:n},e&&(c.search=e),a&&(c.company_id=a),t.abrupt("return",s("/v1/users/autocomplete",c));case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function mn(t,n){return yn.apply(this,arguments)}function yn(){return(yn=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v1/file/sign?file_name=".concat(encodeURIComponent(n),"&contentType=").concat(e)));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function wn(t){return bn.apply(this,arguments)}function bn(){return bn=n(r.mark((function t(n){var e,a=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=a.length>1&&void 0!==a[1]?a[1]:"attachment",t.abrupt("return",s("/v1/file/download_link?file_name=".concat(encodeURIComponent(n),"&response_content_disposition=").concat(e),{}));case 2:case"end":return t.stop()}}),t)}))),bn.apply(this,arguments)}var _n=function(t,n){return s("/v2/apps/".concat(t,"/packages"),n)};function gn(t){return kn.apply(this,arguments)}function kn(){return(kn=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v2/frac_fleets/wells",n));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function xn(t,n){return On.apply(this,arguments)}function On(){return(On=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v2/pads/".concat(n,"/app_wells"),e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function jn(t){return An.apply(this,arguments)}function An(){return(An=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v2/tasks/".concat(n),{}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Pn(){return $n.apply(this,arguments)}function $n(){return $n=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",o("/v2/tasks",n));case 2:case"end":return t.stop()}}),t)}))),$n.apply(this,arguments)}var In=function(t){return s("/v2/apps/".concat(t,"/app_settings_templates"),{})},Dn=function(t,n){return s("/v2/apps/".concat(t,"/app_settings_templates/").concat(n),{})},Tn=function(t,n,r){var e=r.name,a=r.settings;return h("/v2/apps/".concat(t,"/app_settings_templates/").concat(n),{app_settings_template:{name:e,settings:a}},{})},Un=function(t,n){var r=n.name,e=n.settings;return o("/v2/apps/".concat(t,"/app_settings_templates"),{app_settings_template:{name:r,settings:e}})},qn=function(t,n){return i("/v2/apps/".concat(t,"/app_settings_templates/").concat(n),{})},Cn=function(t,n,r){var e=c.stringify({user_id:r},{arrayFormat:"bracket"});return o("/v2/apps/".concat(t,"/app_settings_templates/").concat(n,"/share?").concat(e),{})},Nn=function(t){var n=t.page,r=t.perPage,e=void 0===r?1e3:r,a=t.sort,c=t.order,u=t.search,p=t.companyId,o=t.ids;return s("/v1/users",{page:n,per_page:e,sort:a,order:c,ids:o,search:""!==u?u:void 0,company_id:null!==p?p:void 0})};function Rn(t,n){return Sn.apply(this,arguments)}function Sn(){return(Sn=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o("/v1/users/".concat(n,"/settings"),e));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function En(t,n){return Jn.apply(this,arguments)}function Jn(){return(Jn=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v1/users/".concat(n,"/settings/").concat(e)));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Kn(){return Wn.apply(this,arguments)}function Wn(){return(Wn=n(r.mark((function t(){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o("/v1/logout"));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Fn(){return Gn.apply(this,arguments)}function Gn(){return Gn=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",s("/v2/ability_check/check_permission",n,{isImmutable:!1}));case 2:case"end":return t.stop()}}),t)}))),Gn.apply(this,arguments)}function Mn(){return zn.apply(this,arguments)}function zn(){return zn=n(r.mark((function t(){var n,e=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.length>0&&void 0!==e[0]?e[0]:{},t.abrupt("return",s("/v2/dashboards",n));case 2:case"end":return t.stop()}}),t)}))),zn.apply(this,arguments)}function Bn(t,n){return o("/v1/user_token",{auth:{token:n},platform:t})}function Hn(t){return Ln.apply(this,arguments)}function Ln(){return(Ln=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v1/sessions/schemas",n));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Qn(t){return Vn.apply(this,arguments)}function Vn(){return(Vn=n(r.mark((function t(n){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",s("/v1/sessions/platforms/".concat(n),null));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Xn(t,n){return Yn.apply(this,arguments)}function Yn(){return(Yn=n(r.mark((function t(n,e){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o("/v1/sessions/platforms/".concat(n,"/token"),{code:e}));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}export{Lt as closeLastAnnotation,Ft as deleteAnnotation,Nt as deleteAppHelpContent,Tt as deleteAppMedia,qn as deleteAppSettingsTemplate,H as deleteAppStorage,z as deleteAppStorageRecords,ln as deleteFeedItem,cn as deleteFeedItemComment,At as getAllLASFileData,Yt as getAnnotationComments,Mt as getAnnotations,Ct as getAppHelpContent,Dt as getAppMedia,_n as getAppPackages,Dn as getAppSettingsTemplate,In as getAppSettingsTemplates,Q as getAppStorage,T as getAsset,q as getAssets,ft as getCompanies,yt as getCompanyGoals,ot as getCompetitorAnalysisData,y as getCurrentUser,Bt as getDashboardLastAnnotations,Mn as getDashboards,X as getDataAppStorage,Z as getDataAppStorageAggregate,W as getDrilloutUnit,G as getDrilloutUnits,dt as getFavorites,tn as getFileDownloadLink,gn as getFracFleetWells,J as getFracFleets,jt as getLASFileDataByPage,xt as getLASFileList,Ot as getLASMetadata,xn as getPadWells,S as getPads,Fn as getPermissionCheck,ht as getPicklist,I as getPrograms,N as getResolvedAssets,j as getRig,P as getRigs,wn as getS3DownloadLink,mn as getS3SignedUrl,Pt as getStreams,jn as getTask,Qn as getUserAuthPlatform,Hn as getUserAuthSchemas,vn as getUserAutocomplete,En as getUserSetting,Nn as getUsers,x as getWell,b as getWellViewBha,g as getWells,Bn as loginWithAuth0Token,Kn as logout,It as mapAssetByIdGetRequest,$t as mapAssetGetRequest,Kt as patchAnnotation,Tn as patchAppSettingsTemplate,on as patchFeedItem,nn as patchFeedItemComment,Et as postAnnotation,Vt as postAnnotationComment,Un as postAppSettingsTemplate,ct as postAppStorage,pt as postDataAppStorage,en as postFeedItemComment,Pn as postTask,Xn as postUserAuthTokenExchange,nt as putAppStorage,et as putDataAppStorage,Rn as setCurrentUserSettings,Cn as shareAppSettingsTemplate,pn as toggleFeedItemLike,St as updateAppHelpContent,qt as updateAppMedia,Rt as uploadAppHelpContent,Ut as uploadAppMedia};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export const provider: Auth0SSOProvider;
|
|
2
|
+
declare class Auth0SSOProvider {
|
|
3
|
+
configure: (options: any) => void;
|
|
4
|
+
handler: any;
|
|
5
|
+
authorize: (connection: any) => Promise<void>;
|
|
6
|
+
authenticate: () => Promise<any>;
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=auth0.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth0.d.ts","sourceRoot":"","sources":["../../../src/clients/sso/auth0.js"],"names":[],"mappings":"AA2BA,wCAA+C;AAzB/C;IACE,kCAKE;IADA,aAA6D;IAG/D,8CAEE;IAEF,iCAUE;CACH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"@babel/runtime/helpers/asyncToGenerator";import r from"@babel/runtime/helpers/createClass";import t from"@babel/runtime/helpers/classCallCheck";import n from"@babel/runtime/helpers/defineProperty";import o from"@babel/runtime/regenerator";import i from"auth0-js";function c(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function a(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?c(Object(t),!0).forEach((function(r){n(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var s=new(r((function r(){var c,s=this;t(this,r),n(this,"configure",(function(e){var r=process.env.REACT_APP_AUTH0_REDIRECT_URI||e.redirectUri||"";s.handler=new i.WebAuth(a(a({},e),{},{redirectUri:r}))})),n(this,"authorize",(c=e(o.mark((function e(r){return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s.handler.authorize({connection:r});case 1:case"end":return e.stop()}}),e)}))),function(e){return c.apply(this,arguments)})),n(this,"authenticate",e(o.mark((function e(){return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,r){s.handler.parseHash((function(t,n){t?r(new Error(t)):e(n.accessToken)}))})));case 1:case"end":return e.stop()}}),e)}))))})));export{s as provider};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export function getSSOProvider(platform: any): {
|
|
2
|
+
configure: (options: any) => void;
|
|
3
|
+
handler: any;
|
|
4
|
+
authorize: (connection: any) => Promise<void>;
|
|
5
|
+
authenticate: () => Promise<any>;
|
|
6
|
+
} | {
|
|
7
|
+
configure: (options: any) => void;
|
|
8
|
+
options: any;
|
|
9
|
+
handler: import("@badgateway/oauth2-client").OAuth2Client;
|
|
10
|
+
authorize: (connection: any) => Promise<void>;
|
|
11
|
+
authenticate: () => Promise<any>;
|
|
12
|
+
};
|
|
13
|
+
export function isSSOPlatformSupported(platform: any): boolean;
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/clients/sso/index.js"],"names":[],"mappings":"AAGO;;;;;;;;;;;EASN;AAEM,+DAGN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{provider as r}from"./auth0.js";import{provider as t}from"./oauth2.js";var u=function(u){switch(u){case"auth0":return r;case"oauth2":return t;default:return null}},n=function(r){return null!==u(r)};export{u as getSSOProvider,n as isSSOPlatformSupported};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export const provider: Oauth2SSOProvider;
|
|
2
|
+
declare class Oauth2SSOProvider {
|
|
3
|
+
configure: (options: any) => void;
|
|
4
|
+
options: any;
|
|
5
|
+
handler: OAuth2Client;
|
|
6
|
+
authorize: (connection: any) => Promise<void>;
|
|
7
|
+
authenticate: () => Promise<any>;
|
|
8
|
+
}
|
|
9
|
+
import { OAuth2Client } from "@badgateway/oauth2-client";
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=oauth2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth2.d.ts","sourceRoot":"","sources":["../../../src/clients/sso/oauth2.js"],"names":[],"mappings":"AA6BA,yCAAgD;AAzBhD;IACE,kCAGE;IAFA,aAAsB;IACtB,sBAA6C;IAG/C,8CAQE;IAEF,iCAME;CACH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"@babel/runtime/helpers/asyncToGenerator";import r from"@babel/runtime/helpers/createClass";import t from"@babel/runtime/helpers/classCallCheck";import n from"@babel/runtime/helpers/defineProperty";import o from"@babel/runtime/regenerator";import{OAuth2Client as a}from"@badgateway/oauth2-client";import{postUserAuthTokenExchange as i}from"../jsonApi/index.js";var s=new(r((function r(){var s,c=this;t(this,r),n(this,"configure",(function(e){c.options=e,c.handler=new a(c.options)})),n(this,"authorize",(s=e(o.mark((function e(r){var t,n;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.options.redirectUri,n=c.options.scope||r,e.next=4,c.handler.authorizationCode.getAuthorizeUri({redirectUri:t,scope:n});case 4:document.location=e.sent;case 5:case"end":return e.stop()}}),e)}))),function(e){return s.apply(this,arguments)})),n(this,"authenticate",e(o.mark((function e(){var r,t,n,a;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new URL(document.location).searchParams,t=r.get("code"),e.next=4,i("oauth2",t);case 4:return n=e.sent,a=n.token,e.abrupt("return",a.access_token);case 7:case"end":return e.stop()}}),e)}))))})));export{s as provider};
|