@corva/ui 3.51.0-3 → 3.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5WithStore.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/constants.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/constants.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/effects/useCompanyMetricKey.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/effects/useCompanyMetricKey.js.map +1 -1
- package/cjs-bundle/componentsV2/Button/Button.scss.js +1 -1
- package/cjs-bundle/config/theme/buttonOverrides.js +1 -1
- package/cjs-bundle/config/theme/buttonOverrides.js.map +1 -1
- package/cjs-bundle/utils/metrics/metricsConfig.js +1 -1
- package/cjs-bundle/utils/metrics/metricsConfig.js.map +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5WithStore.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js.map +1 -1
- package/components/OffsetWellPickerV5/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/constants.js +1 -1
- package/components/OffsetWellPickerV5/constants.js.map +1 -1
- package/components/OffsetWellPickerV5/effects/useCompanyMetricKey.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/effects/useCompanyMetricKey.js +1 -1
- package/components/OffsetWellPickerV5/effects/useCompanyMetricKey.js.map +1 -1
- package/componentsV2/Button/Button.scss.js +1 -1
- package/config/theme/buttonOverrides.d.ts +25 -12
- package/config/theme/buttonOverrides.js +1 -1
- package/config/theme/buttonOverrides.js.map +1 -1
- package/mcp-server/server.mjs +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/utils/metrics/metricsConfig.d.ts +553 -535
- package/utils/metrics/metricsConfig.d.ts.map +1 -1
- package/utils/metrics/metricsConfig.js +1 -1
- package/utils/metrics/metricsConfig.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCompanyMetricKey.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/effects/useCompanyMetricKey.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useCompanyMetricKey.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/effects/useCompanyMetricKey.js"],"names":[],"mappings":"AAgBO,+CAJI,MAAM,oBACN,MAAM,EAAE,GACN,UAAU,CAAC,OAAO,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,CAgCjD;yBA9CmC,OAAO"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from"@babel/runtime/helpers/toConsumableArray";import s from"@babel/runtime/helpers/asyncToGenerator";import o from"@babel/runtime/helpers/slicedToArray";import r from"@babel/runtime/regenerator";import{useState as n,useEffect as i}from"react";import"@babel/runtime/helpers/defineProperty";import"uuid";import"lodash";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../clients/jsonApi/index.js";import"../../../clients/subscriptions/constants.js";import"../../../clients/subscriptions.v1.js";import"../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import"../../../clients/sso/auth0.js";import"../../../clients/sso/oauth2.js";import{fetchCompanyGoals as e}from"../api/companies/fetchCompanyGoals.js";import{DEFAULT_METRICS_KEY as
|
|
1
|
+
import t from"@babel/runtime/helpers/toConsumableArray";import s from"@babel/runtime/helpers/asyncToGenerator";import o from"@babel/runtime/helpers/slicedToArray";import r from"@babel/runtime/regenerator";import{useState as n,useEffect as i}from"react";import"@babel/runtime/helpers/defineProperty";import"uuid";import"lodash";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../clients/jsonApi/index.js";import"../../../clients/subscriptions/constants.js";import"../../../clients/subscriptions.v1.js";import"../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import"../../../clients/sso/auth0.js";import"../../../clients/sso/oauth2.js";import{fetchCompanyGoals as e}from"../api/companies/fetchCompanyGoals.js";import{METRICS_LIST as a,DEFAULT_METRICS_KEY as p}from"../constants.js";import"../api/shared/dataFormatter.js";import"../../../utils/index.js";import{BENCHMARK_METRIC_GOAL as m}from"../../../constants/goals.js";import"../../../constants/segment.js";import"../../../constants/alerts.js";import"../../../constants/apps.js";import"../../../constants/drillstring.js";import"../../../constants/completion.js";import"../../../constants/appPackages.js";import"../../../constants/notifications.js";import"../../../constants/feed.js";import"../../../constants/bha.js";import"../../../constants/corvaCompanyId.js";import"../../GradientManager/configuration/constants.js";import{getCompanyGoalSetting as c}from"../../../utils/goals.js";var l=new Set(a.map((function(t){return t.key}))),u=function(t){return t.filter((function(t){return l.has(t)}))},f=function(a,l){var f=n([]),j=o(f,2),d=j[0],h=j[1];return i((function(){function t(){return(t=s(r.mark((function t(){var s,o;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e(a);case 2:s=t.sent,o=c(s,m),h(o?u([o]):[]);case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}l?h(u(l)):a&&function(){t.apply(this,arguments)}()}),[a,l]),d.includes(p)||h((function(s){return[p].concat(t(s)).slice(0,3)})),[d,h]};export{f as useCompanyMetricKey};
|
|
2
2
|
//# sourceMappingURL=useCompanyMetricKey.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCompanyMetricKey.js","sources":["../../../../src/components/OffsetWellPickerV5/effects/useCompanyMetricKey.js"],"sourcesContent":["import { useState, useEffect } from 'react';\n\nimport { fetchCompanyGoals } from '../api';\nimport { DEFAULT_METRICS_KEY } from '../constants';\n\nimport { goals } from '~/utils';\nimport { goals as goalsConstants } from '~/constants';\n\n/**\n * @param {number} companyId\n * @param {string[]} savedMetricsKeys\n * @returns {ReturnType<typeof useState<string[]>>}\n */\nexport const useCompanyMetricKey = (companyId, savedMetricsKeys) => {\n /** @type {ReturnType<typeof useState<string[]>>} */\n const [metricKeys, setMetricKeys] = useState([]);\n\n useEffect(() => {\n async function handleFetchCompanyMetric() {\n const companyGoals = await fetchCompanyGoals(companyId);\n const companyMetricKey = goals.getCompanyGoalSetting(\n companyGoals,\n goalsConstants.BENCHMARK_METRIC_GOAL\n );\n\n if (companyMetricKey) {\n setMetricKeys([companyMetricKey]);\n } else {\n setMetricKeys([]);\n }\n }\n\n if (savedMetricsKeys) {\n setMetricKeys(savedMetricsKeys);\n } else if (companyId) {\n handleFetchCompanyMetric();\n }\n }, [companyId, savedMetricsKeys]);\n // set 'Total Distance drilled' to default metric\n if (!metricKeys.includes(DEFAULT_METRICS_KEY)) {\n setMetricKeys(prev => [DEFAULT_METRICS_KEY, ...prev].slice(0, 3));\n }\n return [metricKeys, setMetricKeys];\n};\n"],"names":["useCompanyMetricKey","companyId","savedMetricsKeys","useState","_useState2","_slicedToArray","_useState","metricKeys","setMetricKeys","useEffect","_handleFetchCompanyMetric","_asyncToGenerator","_regeneratorRuntime","mark","_callee","companyGoals","companyMetricKey","wrap","_context","prev","next","fetchCompanyGoals","sent","goals","goalsConstants","stop","apply","this","arguments","handleFetchCompanyMetric","includes","DEFAULT_METRICS_KEY","concat","_toConsumableArray","slice"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useCompanyMetricKey.js","sources":["../../../../src/components/OffsetWellPickerV5/effects/useCompanyMetricKey.js"],"sourcesContent":["import { useState, useEffect } from 'react';\n\nimport { fetchCompanyGoals } from '../api';\nimport { DEFAULT_METRICS_KEY, METRICS_LIST } from '../constants';\n\nimport { goals } from '~/utils';\nimport { goals as goalsConstants } from '~/constants';\n\nconst validMetricKeys = new Set(METRICS_LIST.map(m => m.key));\nconst filterValidMetrics = keys => keys.filter(key => validMetricKeys.has(key));\n\n/**\n * @param {number} companyId\n * @param {string[]} savedMetricsKeys\n * @returns {ReturnType<typeof useState<string[]>>}\n */\nexport const useCompanyMetricKey = (companyId, savedMetricsKeys) => {\n /** @type {ReturnType<typeof useState<string[]>>} */\n const [metricKeys, setMetricKeys] = useState([]);\n\n useEffect(() => {\n async function handleFetchCompanyMetric() {\n const companyGoals = await fetchCompanyGoals(companyId);\n const companyMetricKey = goals.getCompanyGoalSetting(\n companyGoals,\n goalsConstants.BENCHMARK_METRIC_GOAL\n );\n\n if (companyMetricKey) {\n setMetricKeys(filterValidMetrics([companyMetricKey]));\n } else {\n setMetricKeys([]);\n }\n }\n\n if (savedMetricsKeys) {\n setMetricKeys(filterValidMetrics(savedMetricsKeys));\n } else if (companyId) {\n handleFetchCompanyMetric();\n }\n }, [companyId, savedMetricsKeys]);\n // set 'Total Distance drilled' to default metric\n if (!metricKeys.includes(DEFAULT_METRICS_KEY)) {\n setMetricKeys(prev => [DEFAULT_METRICS_KEY, ...prev].slice(0, 3));\n }\n return [metricKeys, setMetricKeys];\n};\n"],"names":["validMetricKeys","Set","METRICS_LIST","map","m","key","filterValidMetrics","keys","filter","has","useCompanyMetricKey","companyId","savedMetricsKeys","useState","_useState2","_slicedToArray","_useState","metricKeys","setMetricKeys","useEffect","_handleFetchCompanyMetric","_asyncToGenerator","_regeneratorRuntime","mark","_callee","companyGoals","companyMetricKey","wrap","_context","prev","next","fetchCompanyGoals","sent","goals","goalsConstants","stop","apply","this","arguments","handleFetchCompanyMetric","includes","DEFAULT_METRICS_KEY","concat","_toConsumableArray","slice"],"mappings":"6hDAQA,IAAMA,EAAkB,IAAIC,IAAIC,EAAaC,KAAI,SAAAC,GAAC,OAAIA,EAAEC,GAAG,KACrDC,EAAqB,SAAAC,GAAI,OAAIA,EAAKC,QAAO,SAAAH,GAAG,OAAIL,EAAgBS,IAAIJ,KAAK,EAOlEK,EAAsB,SAACC,EAAWC,GAE7C,IAAoCC,EAAAA,EAAS,IAAGC,EAAAC,EAAAC,EAAA,GAAzCC,EAAUH,EAAA,GAAEI,EAAaJ,EAAA,GA2BhC,OAzBAK,GAAU,WAC+B,SAAAC,IAYtC,OAZsCA,EAAvCC,EAAAC,EAAAC,MAAA,SAAAC,IAAA,IAAAC,EAAAC,EAAA,OAAAJ,EAAAK,MAAA,SAAAC,GAAA,OAAA,OAAAA,EAAAC,KAAAD,EAAAE,MAAA,KAAA,EAAA,OAAAF,EAAAE,KAAA,EAC6BC,EAAkBpB,GAAU,KAAA,EAAjDc,EAAYG,EAAAI,KACZN,EAAmBO,EACvBR,EACAS,GAIAhB,EADEQ,EACYpB,EAAmB,CAACoB,IAEpB,IACf,KAAA,EAAA,IAAA,MAAA,OAAAE,EAAAO,OAAA,GAAAX,EACF,MAAAY,MAAAC,KAAAC,UAAA,CAEG1B,EACFM,EAAcZ,EAAmBM,IACxBD,GAjBG,WACyBS,EAAAgB,MAAAC,KAAAC,UAAA,CAiBrCC,EAEJ,GAAG,CAAC5B,EAAWC,IAEVK,EAAWuB,SAASC,IACvBvB,GAAc,SAAAW,GAAI,MAAI,CAACY,GAAmBC,OAAAC,EAAKd,IAAMe,MAAM,EAAG,MAEzD,CAAC3B,EAAYC,EACtB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from'./../../ext-esm/style-inject/dist/style-inject.es.js';var r={spacing:"8",root:"Button_root__urTct",button:"Button_button__VxKzy",chart:"Button_chart__VtHxy",primaryDestructive:"Button_primaryDestructive__uzEdA",disabled:"Button_disabled__-IfQw",secondaryDestructive:"Button_secondaryDestructive__rpBj7"};t(".Button_root__urTct{display:inline-block;vertical-align:middle}.Button_button__VxKzy{width:100%}.Button_button__VxKzy.MuiButton-root{transition:all .15s cubic-bezier(.4,0,.2,1);white-space:nowrap}.Button_button__VxKzy:not(.Button_chart__VtHxy){letter-spacing:1px}.Button_button__VxKzy.Button_primaryDestructive__uzEdA{background:var(--palette-error-dark)}.Button_button__VxKzy.Button_primaryDestructive__uzEdA:hover{background:var(--palette-error-main)}.Button_button__VxKzy.Button_primaryDestructive__uzEdA.Button_disabled__-IfQw{background:var(--palette-error-dark)}.Button_button__VxKzy.Button_secondaryDestructive__rpBj7{
|
|
1
|
+
import t from'./../../ext-esm/style-inject/dist/style-inject.es.js';var r={spacing:"8",root:"Button_root__urTct",button:"Button_button__VxKzy",chart:"Button_chart__VtHxy",primaryDestructive:"Button_primaryDestructive__uzEdA",disabled:"Button_disabled__-IfQw",secondaryDestructive:"Button_secondaryDestructive__rpBj7"};t(".Button_root__urTct{display:inline-block;vertical-align:middle}.Button_button__VxKzy{width:100%}.Button_button__VxKzy.MuiButton-root{transition:all .15s cubic-bezier(.4,0,.2,1);white-space:nowrap}.Button_button__VxKzy:not(.Button_chart__VtHxy){letter-spacing:1px}.Button_button__VxKzy.Button_primaryDestructive__uzEdA{background:var(--palette-error-dark)}.Button_button__VxKzy.Button_primaryDestructive__uzEdA:hover{background:var(--palette-error-main)}.Button_button__VxKzy.Button_primaryDestructive__uzEdA.Button_disabled__-IfQw{background:var(--palette-error-dark)}.Button_button__VxKzy.Button_secondaryDestructive__rpBj7{color:var(--palette-error-dark)}.Button_button__VxKzy.Button_secondaryDestructive__rpBj7:hover{background:rgb(from var(--palette-error-dark) r g b/.24);color:var(--palette-error-main)}.Button_button__VxKzy.Button_secondaryDestructive__rpBj7.Button_disabled__-IfQw{color:var(--palette-error-dark)}.Button_button__VxKzy.Button_chart__VtHxy{background-color:rgb(from var(--palette-primary-text-1) r g b/.08);font-size:16px;font-weight:400;letter-spacing:normal;text-transform:none}.Button_button__VxKzy.Button_chart__VtHxy:hover{background-color:rgb(from var(--palette-primary-text-1) r g b/.16)}");export{r as default};
|
|
2
2
|
//# sourceMappingURL=Button.scss.js.map
|
|
@@ -17,6 +17,30 @@ declare namespace _default {
|
|
|
17
17
|
'& .MuiSvgIcon-root': {
|
|
18
18
|
color: string;
|
|
19
19
|
};
|
|
20
|
+
'& .MuiButton-startIcon': {
|
|
21
|
+
'&.MuiButton-iconSizeSmall': {
|
|
22
|
+
marginLeft: string;
|
|
23
|
+
marginRight: number;
|
|
24
|
+
};
|
|
25
|
+
'&.MuiButton-iconSizeMedium': {
|
|
26
|
+
marginLeft: string;
|
|
27
|
+
};
|
|
28
|
+
'&.MuiButton-iconSizeLarge': {
|
|
29
|
+
marginLeft: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
'& .MuiButton-endIcon': {
|
|
33
|
+
'&.MuiButton-iconSizeSmall': {
|
|
34
|
+
marginRight: string;
|
|
35
|
+
marginLeft: number;
|
|
36
|
+
};
|
|
37
|
+
'&.MuiButton-iconSizeMedium': {
|
|
38
|
+
marginRight: string;
|
|
39
|
+
};
|
|
40
|
+
'&.MuiButton-iconSizeLarge': {
|
|
41
|
+
marginRight: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
20
44
|
'& .MuiButton-iconSizeMedium > *:first-child': {
|
|
21
45
|
fontSize: string;
|
|
22
46
|
};
|
|
@@ -45,6 +69,7 @@ declare namespace _default {
|
|
|
45
69
|
let padding_1: number;
|
|
46
70
|
export { padding_1 as padding };
|
|
47
71
|
}
|
|
72
|
+
let contained: {};
|
|
48
73
|
let containedPrimary: {
|
|
49
74
|
color: string;
|
|
50
75
|
'&:hover': {
|
|
@@ -56,7 +81,6 @@ declare namespace _default {
|
|
|
56
81
|
};
|
|
57
82
|
};
|
|
58
83
|
let textPrimary: {
|
|
59
|
-
backgroundColor: string;
|
|
60
84
|
'&:hover': {
|
|
61
85
|
color: string;
|
|
62
86
|
backgroundColor: string;
|
|
@@ -66,7 +90,6 @@ declare namespace _default {
|
|
|
66
90
|
};
|
|
67
91
|
};
|
|
68
92
|
let text: {
|
|
69
|
-
background: string;
|
|
70
93
|
padding: string;
|
|
71
94
|
color: string;
|
|
72
95
|
'&:hover': {
|
|
@@ -77,16 +100,6 @@ declare namespace _default {
|
|
|
77
100
|
color: string;
|
|
78
101
|
};
|
|
79
102
|
};
|
|
80
|
-
namespace startIcon {
|
|
81
|
-
let marginLeft: string;
|
|
82
|
-
let marginRight: number;
|
|
83
|
-
}
|
|
84
|
-
namespace endIcon {
|
|
85
|
-
let marginRight_1: string;
|
|
86
|
-
export { marginRight_1 as marginRight };
|
|
87
|
-
let marginLeft_1: number;
|
|
88
|
-
export { marginLeft_1 as marginLeft };
|
|
89
|
-
}
|
|
90
103
|
}
|
|
91
104
|
}
|
|
92
105
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import i from"./palette.mjs.js";var o=i.primary,t=i.background,n={MuiButton:{root:{height:36,padding:"12px 16px",borderRadius:8,boxShadow:"none !important","&:hover":{boxShadow:"none !important"},"&.Mui-disabled":{opacity:.4},"& .MuiButton-label":{lineHeight:0},"& .MuiSvgIcon-root":{color:"inherit"},"& .MuiButton-startIcon":{"&.MuiButton-iconSizeSmall":{marginLeft:"-2px",marginRight:4},"&.MuiButton-iconSizeMedium":{marginLeft:"-4px"},"&.MuiButton-iconSizeLarge":{marginLeft:"-4px"}},"& .MuiButton-endIcon":{"&.MuiButton-iconSizeSmall":{marginRight:"-2px",marginLeft:4},"&.MuiButton-iconSizeMedium":{marginRight:"-4px"},"&.MuiButton-iconSizeLarge":{marginRight:"-4px"}},"& .MuiButton-iconSizeMedium > *:first-child":{fontSize:"24px"},"& .MuiButton-iconSizeLarge > *:first-child":{fontSize:"24px"},"& .MuiButton-iconSizeSmall > *:first-child":{fontSize:"20px"},"& .MuiButton-iconSizeSmall > .i-icon, & .MuiButton-iconSizeSmall > .i-icon > svg":{width:"20px !important",height:"20px !important"}},sizeLarge:{height:40,fontSize:16,fontWeight:500,padding:"12px 16px"},sizeSmall:{height:32,fontSize:14,padding:8},contained:{},containedPrimary:{color:t.b2,"&:hover":{backgroundColor:o.light},"&.Mui-disabled":{backgroundColor:o.main,color:t.b2}},textPrimary:{"&:hover":{color:o.light,backgroundColor:"rgba(3, 188, 212, 0.24)"},"&.Mui-disabled":{color:o.main}},text:{padding:"12px 16px",color:o.text6,"&:hover":{color:"#FFFFFF",backgroundColor:t.b7},"&.Mui-disabled":{color:o.text6}}}};export{n as default};
|
|
2
2
|
//# sourceMappingURL=buttonOverrides.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttonOverrides.js","sources":["../../../src/config/theme/buttonOverrides.js"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"buttonOverrides.js","sources":["../../../src/config/theme/buttonOverrides.js"],"sourcesContent":["import palette from './palette.mjs';\n\nconst { primary, background } = palette;\n\nexport default {\n MuiButton: {\n root: {\n height: 36,\n padding: '12px 16px',\n borderRadius: 8,\n boxShadow: 'none !important',\n '&:hover': {\n boxShadow: 'none !important',\n },\n\n '&.Mui-disabled': {\n opacity: 0.4,\n },\n '& .MuiButton-label': {\n lineHeight: 0,\n },\n '& .MuiSvgIcon-root': {\n color: 'inherit',\n },\n '& .MuiButton-startIcon': {\n '&.MuiButton-iconSizeSmall': {\n marginLeft: '-2px',\n marginRight: 4,\n },\n '&.MuiButton-iconSizeMedium': {\n marginLeft: '-4px',\n },\n '&.MuiButton-iconSizeLarge': {\n marginLeft: '-4px',\n },\n },\n '& .MuiButton-endIcon': {\n '&.MuiButton-iconSizeSmall': {\n marginRight: '-2px',\n marginLeft: 4,\n },\n '&.MuiButton-iconSizeMedium': {\n marginRight: '-4px',\n },\n '&.MuiButton-iconSizeLarge': {\n marginRight: '-4px',\n },\n },\n '& .MuiButton-iconSizeMedium > *:first-child': {\n fontSize: '24px',\n },\n '& .MuiButton-iconSizeLarge > *:first-child': {\n fontSize: '24px',\n },\n '& .MuiButton-iconSizeSmall > *:first-child': {\n fontSize: '20px',\n },\n '& .MuiButton-iconSizeSmall > .i-icon, & .MuiButton-iconSizeSmall > .i-icon > svg': {\n width: '20px !important',\n height: '20px !important',\n },\n },\n sizeLarge: {\n height: 40,\n fontSize: 16,\n fontWeight: 500,\n padding: '12px 16px',\n },\n sizeSmall: {\n height: 32,\n fontSize: 14,\n padding: 8,\n },\n contained: {},\n containedPrimary: {\n color: background.b2,\n '&:hover': {\n backgroundColor: primary.light,\n },\n '&.Mui-disabled': {\n backgroundColor: primary.main,\n color: background.b2,\n },\n },\n textPrimary: {\n '&:hover': {\n color: primary.light,\n backgroundColor: 'rgba(3, 188, 212, 0.24)',\n },\n '&.Mui-disabled': {\n color: primary.main,\n },\n },\n text: {\n padding: '12px 16px',\n color: primary.text6,\n '&:hover': {\n color: '#FFFFFF',\n backgroundColor: background.b7,\n },\n '&.Mui-disabled': {\n color: primary.text6,\n },\n },\n },\n};\n"],"names":["primary","palette","background","buttonOverrides","MuiButton","root","height","padding","borderRadius","boxShadow","opacity","lineHeight","color","marginLeft","marginRight","fontSize","width","sizeLarge","fontWeight","sizeSmall","contained","containedPrimary","b2","backgroundColor","light","main","textPrimary","text","text6","b7"],"mappings":"gCAEA,IAAQA,EAAwBC,EAAxBD,QAASE,EAAeD,EAAfC,WAEFC,EAAA,CACbC,UAAW,CACTC,KAAM,CACJC,OAAQ,GACRC,QAAS,YACTC,aAAc,EACdC,UAAW,kBACX,UAAW,CACTA,UAAW,mBAGb,iBAAkB,CAChBC,QAAS,IAEX,qBAAsB,CACpBC,WAAY,GAEd,qBAAsB,CACpBC,MAAO,WAET,yBAA0B,CACxB,4BAA6B,CAC3BC,WAAY,OACZC,YAAa,GAEf,6BAA8B,CAC5BD,WAAY,QAEd,4BAA6B,CAC3BA,WAAY,SAGhB,uBAAwB,CACtB,4BAA6B,CAC3BC,YAAa,OACbD,WAAY,GAEd,6BAA8B,CAC5BC,YAAa,QAEf,4BAA6B,CAC3BA,YAAa,SAGjB,8CAA+C,CAC7CC,SAAU,QAEZ,6CAA8C,CAC5CA,SAAU,QAEZ,6CAA8C,CAC5CA,SAAU,QAEZ,mFAAoF,CAClFC,MAAO,kBACPV,OAAQ,oBAGZW,UAAW,CACTX,OAAQ,GACRS,SAAU,GACVG,WAAY,IACZX,QAAS,aAEXY,UAAW,CACTb,OAAQ,GACRS,SAAU,GACVR,QAAS,GAEXa,UAAW,CAAE,EACbC,iBAAkB,CAChBT,MAAOV,EAAWoB,GAClB,UAAW,CACTC,gBAAiBvB,EAAQwB,OAE3B,iBAAkB,CAChBD,gBAAiBvB,EAAQyB,KACzBb,MAAOV,EAAWoB,KAGtBI,YAAa,CACX,UAAW,CACTd,MAAOZ,EAAQwB,MACfD,gBAAiB,2BAEnB,iBAAkB,CAChBX,MAAOZ,EAAQyB,OAGnBE,KAAM,CACJpB,QAAS,YACTK,MAAOZ,EAAQ4B,MACf,UAAW,CACThB,MAAO,UACPW,gBAAiBrB,EAAW2B,IAE9B,iBAAkB,CAChBjB,MAAOZ,EAAQ4B"}
|
package/mcp-server/server.mjs
CHANGED