@corva/dc-platform-shared 0.0.0-3891cdc → 0.0.0-d9bca2

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.
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/slicedToArray";import{useState as o}from"react";import r from"prop-types";import{makeStyles as t,useTheme as a,AppBar as i,Toolbar as n,FormControlLabel as l,Checkbox as c,Tooltip as s,IconButton as p,Typography as m,Menu as u,MenuItem as d}from"@material-ui/core";import h from"@material-ui/icons/AccountCircle";import f from"@corva/ui/components/SwitchControl";import{LOCAL_STORAGE_PDF_REPORT_VIEW_KEY as g}from"@corva/ui/constants/localStorageKeys";import{isPDFReportView as v}from"@corva/ui/utils/reports";import b from"../../../../assets/DevCenterLogo.js";import{useAuth as C}from"../../../../context/auth.js";import{jsxs as B,jsx as w}from"react/jsx-runtime";var k=t((function(e){return{grow:{flexGrow:1},flex:{display:"flex"},appBar:{backgroundColor:"rgb(30, 31, 31)"},iconButtonRoot:{borderRadius:"unset"},userProfileIcon:{marginLeft:4},headerControl:{marginRight:32},formControlLabel:{fontSize:14}}}));function A(r){var t,A,L=r.toggleTheme,T=k(),x=C(),N=x.user,S=x.logout,_=a(),y=o(null),R=e(y,2),z=R[0],D=R[1],I=Boolean(z),O=function(){return D(null)},P="".concat(null==N||null===(t=N.first_name)||void 0===t?void 0:t[0]).concat(null==N||null===(A=N.last_name)||void 0===A?void 0:A[0]).toUpperCase();return B("div",{children:[w(i,{position:"static",className:T.appBar,children:B(n,{children:[w(b,{}),w("div",{className:T.grow}),w(l,{control:w(c,{"data-testid":"".concat("AppBar","_pdfReport"),checked:v,size:"small",onChange:function(e){localStorage.setItem(g,e.target.checked),window.location.reload()}}),label:"PDF report view",classes:{label:T.formControlLabel},className:T.headerControl}),!v&&w(s,{title:"Switch to light theme to tune your app for PDF reports",placement:"bottom",children:w("div",{children:w(f,{"data-testid":"".concat("AppBar","_themeSwitch"),className:T.headerControl,leftLabel:"Dark Theme",rightLabel:"Light Theme",onChange:L,checked:_.isLightTheme,size:"small",title:""})})}),w("div",{children:w(p,{edge:"end","aria-label":"account of current user","aria-controls":"app-bar-menu","aria-haspopup":"true",onClick:function(e){return D(e.currentTarget)},color:"inherit",className:T.iconButtonRoot,children:B("div",{className:T.flex,children:[w(m,{"data-testid":"".concat("AppBar","_userInitials"),children:P}),w(h,{className:T.userProfileIcon})]})})})]})}),w(u,{"data-testid":"".concat("AppBar","_userDropdown"),anchorEl:z,id:"app-bar-menu",keepMounted:!0,anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},open:I,onClose:O,children:w(d,{"data-testid":"".concat("AppBar","_signOutMenuItem"),onClick:function(){S(),O()},children:"Sign Out"})})]})}A.propTypes={toggleTheme:r.func.isRequired};export{A as default};
1
+ import e from"@babel/runtime/helpers/slicedToArray";import{useState as o}from"react";import t from"prop-types";import{makeStyles as r,useTheme as a,AppBar as n,Toolbar as i,FormControlLabel as l,Checkbox as c,Tooltip as s,IconButton as m,Typography as p,Menu as d,MenuItem as u}from"@material-ui/core";import h from"@material-ui/icons/AccountCircle";import f from"@corva/ui/components/SwitchControl";import{FEATURE_FLAG_APPS_ISOLATION as g}from"@corva/ui/clients/clientStorage";import{LOCAL_STORAGE_PDF_REPORT_VIEW_KEY as v}from"@corva/ui/constants/localStorageKeys";import{isPDFReportView as b}from"@corva/ui/utils/reports";import C from"../../../../assets/DevCenterLogo.js";import{useAuth as w}from"../../../../context/auth.js";import{jsxs as B,jsx as k}from"react/jsx-runtime";var S=r((function(e){return{grow:{flexGrow:1},flex:{display:"flex"},appBar:{backgroundColor:"rgb(30, 31, 31)"},iconButtonRoot:{borderRadius:"unset"},userProfileIcon:{marginLeft:4},headerControl:{marginRight:32},formControlLabel:{fontSize:14}}}));function A(t){var r,A,L=t.toggleTheme,I=S(),N=w(),T=N.user,x=N.logout,_=a(),y=o(null),z=e(y,2),R=z[0],D=z[1],O=Boolean(R),P=function(){return D(null)},j="".concat(null==T||null===(r=T.first_name)||void 0===r?void 0:r[0]).concat(null==T||null===(A=T.last_name)||void 0===A?void 0:A[0]).toUpperCase();return B("div",{children:[k(n,{position:"static",className:I.appBar,children:B(i,{children:[k(C,{}),k("div",{className:I.grow}),k(l,{control:k(c,{checked:"false"!==localStorage.getItem(g),size:"small",onChange:function(e){localStorage.setItem(g,e.target.checked),window.location.reload()}}),label:"App Isolation",classes:{label:I.formControlLabel},className:I.headerControl}),k(l,{control:k(c,{"data-testid":"".concat("AppBar","_pdfReport"),checked:b,size:"small",onChange:function(e){localStorage.setItem(v,e.target.checked),window.location.reload()}}),label:"PDF report view",classes:{label:I.formControlLabel},className:I.headerControl}),!b&&k(s,{title:"Switch to light theme to tune your app for PDF reports",placement:"bottom",children:k("div",{children:k(f,{"data-testid":"".concat("AppBar","_themeSwitch"),className:I.headerControl,leftLabel:"Dark Theme",rightLabel:"Light Theme",onChange:L,checked:_.isLightTheme,size:"small",title:""})})}),k("div",{children:k(m,{edge:"end","aria-label":"account of current user","aria-controls":"app-bar-menu","aria-haspopup":"true",onClick:function(e){return D(e.currentTarget)},color:"inherit",className:I.iconButtonRoot,children:B("div",{className:I.flex,children:[k(p,{"data-testid":"".concat("AppBar","_userInitials"),children:j}),k(h,{className:I.userProfileIcon})]})})})]})}),k(d,{"data-testid":"".concat("AppBar","_userDropdown"),anchorEl:R,id:"app-bar-menu",keepMounted:!0,anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},open:O,onClose:P,children:k(u,{"data-testid":"".concat("AppBar","_signOutMenuItem"),onClick:function(){x(),P()},children:"Sign Out"})})]})}A.propTypes={toggleTheme:t.func.isRequired};export{A as default};
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{DEV_CENTER_CLI_APP_ID as r}from"@corva/ui/constants";import{getFeatureFlagAppsIsolation as o}from"@corva/ui/clients/clientStorage";import{AppsDataProvider as n,DevCenterIsolatedApp as i}from"@corva/ui/components";import{jsx as p}from"react/jsx-runtime";var a=["manifest","dashboardProps","coordinates"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function c(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?s(Object(o),!0).forEach((function(r){e(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var f=o(),m=function(e){var o=e.CLIAppComponent,s=e.CLIAppSettings,m=e.packageJson;return function(e){var u=e.manifest,b=e.dashboardProps,l=e.coordinates,d=t(e,a),O=u.application.key,g=m.version,v={id:r,app:{app_key:O,platform:"dev_center"},settings:d.settings,package:{manifest:u,build:"".concat(O,"-").concat(g),version:g}};return p(n,{dashboardAssetId:b.assetId,apps:[v],children:p(i,c(c({},d),{},{isIsolationFeatureEnabled:f,app:v,coordinates:l,CLIAppComponent:o,CLIAppSettings:s}))})}};export{m as default};
1
+ import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{DEV_CENTER_CLI_APP_ID as r}from"@corva/ui/constants";import{getFeatureFlagAppsIsolation as o}from"@corva/ui/clients/clientStorage";import{AppsDataProvider as n,DevCenterIsolatedApp as i}from"@corva/ui/components";import{jsx as p}from"react/jsx-runtime";var a=["manifest","dashboardProps","coordinates"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function c(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?s(Object(o),!0).forEach((function(r){e(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var m=o(),f=function(e){var o=e.CLIAppComponent,s=e.CLIAppSettings,f=e.packageJson;return function(e){var u=e.manifest,b=e.dashboardProps,l=e.coordinates,d=t(e,a),O=u.application.key,g=f.version,v={app:{app_key:O,platform:"dev_center"},id:r,package:{manifest:u,build:"".concat(O,"-").concat(g),version:g},segment:u.application.segments,settings:d.settings};return p(n,{dashboardAssetId:b.assetId,apps:[v],children:p(i,c(c({},d),{},{isIsolationFeatureEnabled:m,app:v,coordinates:l,CLIAppComponent:o,CLIAppSettings:s}))})}};export{f as default};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require('./../../../ext-cjs/@babel/runtime/helpers/defineProperty.js');function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function a(e){for(var a=1;a<arguments.length;a++){var o=null!=arguments[a]?arguments[a]:{};a%2?r(Object(o),!0).forEach((function(r){t(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var o={qa:"qa",staging:"staging",production:"production"},i={REACT_APP_AUTH0_REDIRECT_URI:"/login/oauth-callback",REACT_APP_AUTH0_DOMAIN:"corva.auth0.com",REACT_APP_AUTH0_CLIENT_ID:"L1B0xGD5AuXwuTDFdFA9czDTM7Vvw464"},c=(t(e={},o.qa,a(a({},i),{},{REACT_APP_API_URL:"https://api.qa.corva.ai",REACT_APP_SUBSCRIPTIONS_URL:"https://subscriptions.qa.corva.ai",REACT_APP_AUTH0_AUDIENCE:"https://api.qa.corva.ai/v1"})),t(e,o.staging,a(a({},i),{},{REACT_APP_API_URL:"https://api.staging.corva.ai",REACT_APP_SUBSCRIPTIONS_URL:"https://subscriptions.staging.corva.ai",REACT_APP_AUTH0_AUDIENCE:"https://api.staging.corva.ai/v1"})),t(e,o.production,a(a({},i),{},{REACT_APP_API_URL:"https://api.corva.ai",REACT_APP_SUBSCRIPTIONS_URL:"https://subscriptions.corva.ai",REACT_APP_AUTH0_AUDIENCE:"https://api.corva.ai/v1"})),e);exports.CORVA_API_ENVS=o,exports.CORVA_API_ENV_VARIABLES=c,exports.CORVA_GLOBAL_DEPENDENCIES={"@corva/ui":"","@material-ui/core":"4.11.2","@material-ui/icons":"4.9.1","@material-ui/lab":"4.0.0-alpha.57","@material-ui/pickers":"3.2.10","@rollbar/react":"0.11.1",classnames:"2.2.6","corva-convert-units":"1.10.17",highcharts:"11.1.0","highcharts-react-official":"3.2.1",html2canvas:"1.0.0-alpha.12",jsona:"1.5.1",lodash:"^4.17.4","mapbox.js":"3.2.1",moment:"2.29.4","moment-timezone":"0.5.43",react:"17.0.1","react-dom":"17.0.1","react-grid-layout":"1.3.4","react-sortable-hoc":"0.6.8","react-sizeme":"2.5.2","react-redux":"5.1.1","react-virtualized":"9.21.2",redux:"3.7.2","redux-thunk":"2.3.0",reselect:"2.5.4",rollbar:"2.5.1","prop-types":"^15.6.1",uuid:"3.4.0"},exports.UNSUPPORTED_DEPENDENCIES=[{dependency:"date-fns",alternative:"moment"},{dependency:"date-fns-tz",alternative:"moment-timezone"},{dependency:"date-fns-timezone",alternative:"moment-timezone"}];
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require('./../../../ext-cjs/@babel/runtime/helpers/defineProperty.js');function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function a(e){for(var a=1;a<arguments.length;a++){var o=null!=arguments[a]?arguments[a]:{};a%2?r(Object(o),!0).forEach((function(r){t(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var o={qa:"qa",staging:"staging",production:"production"},i={REACT_APP_AUTH0_REDIRECT_URI:"/login/oauth-callback",REACT_APP_AUTH0_DOMAIN:"corva.auth0.com",REACT_APP_AUTH0_CLIENT_ID:"L1B0xGD5AuXwuTDFdFA9czDTM7Vvw464"},c=(t(e={},o.qa,a(a({},i),{},{REACT_APP_API_URL:"https://api.qa.corva.ai",REACT_APP_SUBSCRIPTIONS_URL:"https://subscriptions.qa.corva.ai",REACT_APP_AUTH0_AUDIENCE:"https://api.qa.corva.ai/v1"})),t(e,o.staging,a(a({},i),{},{REACT_APP_API_URL:"https://api.staging.corva.ai",REACT_APP_SUBSCRIPTIONS_URL:"https://subscriptions.staging.corva.ai",REACT_APP_AUTH0_AUDIENCE:"https://api.staging.corva.ai/v1"})),t(e,o.production,a(a({},i),{},{REACT_APP_API_URL:"https://api.corva.ai",REACT_APP_SUBSCRIPTIONS_URL:"https://subscriptions.corva.ai",REACT_APP_AUTH0_AUDIENCE:"https://api.corva.ai/v1"})),e);exports.CORVA_API_ENVS=o,exports.CORVA_API_ENV_VARIABLES=c,exports.CORVA_GLOBAL_DEPENDENCIES={"@corva/ui":"","@material-ui/core":"4.11.2","@material-ui/icons":"4.9.1","@material-ui/lab":"4.0.0-alpha.57","@material-ui/pickers":"3.2.10","@rollbar/react":"0.11.1",classnames:"2.2.6","corva-convert-units":"1.10.33",highcharts:"8.1.2","highcharts-react-official":"2.2.2",html2canvas:"1.0.0-alpha.12",jsona:"1.5.1",lodash:"^4.17.4","mapbox.js":"3.2.1",moment:"2.29.4","moment-timezone":"0.5.43",react:"17.0.1","react-dom":"17.0.1","react-grid-layout":"1.3.4","react-sortable-hoc":"0.6.8","react-sizeme":"2.5.2","react-redux":"5.1.1","react-virtualized":"9.21.2",redux:"3.7.2","redux-thunk":"2.3.0",reselect:"2.5.4",rollbar:"2.5.1","prop-types":"^15.6.1",uuid:"3.4.0"},exports.UNSUPPORTED_DEPENDENCIES=[{dependency:"date-fns",alternative:"moment"},{dependency:"date-fns-tz",alternative:"moment-timezone"},{dependency:"date-fns-timezone",alternative:"moment-timezone"}];
@@ -1 +1 @@
1
- import r from'./../../ext-esm/style-inject/dist/style-inject.es.js';var a={dragLine:"AppsGridDragHandle_dragLine__7wqiq",dragIcon:"AppsGridDragHandle_dragIcon__-GDHv",dragOverlay:"AppsGridDragHandle_dragOverlay__RiAt5",dragIconContainer:"AppsGridDragHandle_dragIconContainer__ATh0-"};r(":hover>.AppsGridDragHandle_dragLine__7wqiq{align-items:center;border:5px solid rgba(3,188,212,.32);cursor:pointer;display:flex;height:0;justify-content:center;margin-left:-2px;position:absolute;top:-6px;width:calc(100% + 4px);z-index:400}:hover>.AppsGridDragHandle_dragLine__7wqiq :active{cursor:move;cursor:grabbing}:hover>.AppsGridDragHandle_dragLine__7wqiq .AppsGridDragHandle_dragIcon__-GDHv{border-radius:30px;font-size:.75rem}:hover>.AppsGridDragHandle_dragLine__7wqiq:active{cursor:move;cursor:grabbing}.AppsGridDragHandle_dragLine__7wqiq,.AppsGridDragHandle_dragOverlay__RiAt5{display:none}.AppsGridDragHandle_dragLine__7wqiq:active+.AppsGridDragHandle_dragOverlay__RiAt5{display:block;height:100%;position:absolute;width:100%}.AppsGridDragHandle_dragLine__7wqiq :active{cursor:move;cursor:grabbing}.AppsGridDragHandle_dragIconContainer__ATh0-{align-items:center;background-color:var(--palette-primary-main);border-radius:30px;display:flex;height:24px;justify-content:center;width:24px}");export{a as default};
1
+ import r from'./../../ext-esm/style-inject/dist/style-inject.es.js';var a={dragLine:"AppsGridDragHandle_dragLine__7wqiq",dragIcon:"AppsGridDragHandle_dragIcon__-GDHv",dragOverlay:"AppsGridDragHandle_dragOverlay__RiAt5",dragIconContainer:"AppsGridDragHandle_dragIconContainer__ATh0-"};r(":hover>.AppsGridDragHandle_dragLine__7wqiq{align-items:center;border:5px solid rgba(3,188,212,.32);border-radius:8px 8px 0 0;cursor:pointer;display:flex;height:0;justify-content:center;margin-left:-2px;position:absolute;top:-6px;width:calc(100% + 4px);z-index:400}:hover>.AppsGridDragHandle_dragLine__7wqiq :active{cursor:move;cursor:grabbing}:hover>.AppsGridDragHandle_dragLine__7wqiq .AppsGridDragHandle_dragIcon__-GDHv{border-radius:30px;font-size:.75rem}:hover>.AppsGridDragHandle_dragLine__7wqiq:active{cursor:move;cursor:grabbing}.AppsGridDragHandle_dragLine__7wqiq,.AppsGridDragHandle_dragOverlay__RiAt5{display:none}.AppsGridDragHandle_dragLine__7wqiq:active+.AppsGridDragHandle_dragOverlay__RiAt5{display:block;height:100%;position:absolute;width:100%}.AppsGridDragHandle_dragLine__7wqiq :active{cursor:move;cursor:grabbing}.AppsGridDragHandle_dragIconContainer__ATh0-{align-items:center;background-color:var(--palette-primary-main);border-radius:30px;display:flex;height:24px;justify-content:center;width:24px}");export{a as default};
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import{makeStyles as t,Tooltip as r,IconButton as o}from"@material-ui/core";import a from"classnames";import{jsx as c}from"react/jsx-runtime";function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function n(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?i(Object(o),!0).forEach((function(r){e(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var d=t((function(e){return{root:{width:36,height:36,"&:hover":{backgroundColor:e.palette.background.b7},borderRadius:"50%"},button:{width:"100%",height:"100%","&:hover":{backgroundColor:e.palette.background.b7}}}}));function s(e){var t=e.className,i=e.disabled,s=e.isDraggableAndResizable,l=e.lockedIcon,b=e.onClick,p=e.pageName,u=e.tooltipProps,f=d();return c(r,n(n({title:i?"Can't unlock dashboard layout":s?"Lock Dashboard Layout":"Unlock Dashboard Layout"},u),{},{children:c("div",{className:a(f.root,t),children:c(o,{className:f.button,color:"primary","data-testid":"".concat(p,"_").concat(s?"gridUnlocked":"gridLocked"),disabled:i,onClick:b,children:c("img",{src:s?"/static/media/b1dce244ca65e361a28be5801cf93d73.svg":l,alt:"Lock"})})})}))}s.defaultProps={lockedIcon:"/static/media/2d1e493e7f3afb84f4a5c8aded37a718.svg",tooltipProps:{}},s.LockedWhiteIcon="/static/media/fb9a5d3233e9e3e310d6d297e6ddcc55.svg";export{s as default};
1
+ import e from"@babel/runtime/helpers/defineProperty";import{UnlockIcon as r,LockIcon as t}from"@corva/ui/icons";import{IconButton as o}from"@corva/ui/components";import{jsx as c}from"react/jsx-runtime";function n(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function a(r){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?n(Object(o),!0).forEach((function(t){e(r,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}))}return r}function i(e){var t=e.className,n=e.disabled,i=e.isDraggableAndResizable,s=e.LockIcon,p=e.lockIconClassName,l=e.onClick,b=e.pageName,u=e.tooltipProps,f=i?"Lock Dashboard Layout":"Unlock Dashboard Layout";return c(o,{className:t,"data-testid":"".concat(b,"_").concat(i?"gridUnlocked":"gridLocked"),disabled:n,onClick:l,tooltipProps:a({title:f},u),children:i?c(r,{}):c(s,{className:p})})}i.defaultProps={LockIcon:t,tooltipProps:{}};export{i as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corva/dc-platform-shared",
3
- "version": "0.0.0-3891cdc",
3
+ "version": "0.0.0-d9bca2",
4
4
  "description": "A library to share internal DC platform specific code",
5
5
  "main": "./dist",
6
6
  "module": "./src/index.js",
@@ -131,7 +131,7 @@
131
131
  "@corva/ui": "*"
132
132
  },
133
133
  "devDependencies": {
134
- "@corva/ui": "0.0.0-c08cd534",
134
+ "@corva/ui": "0.73.0-7",
135
135
  "@rollup/plugin-babel": "^5.2.1",
136
136
  "@rollup/plugin-commonjs": "^15.0.0",
137
137
  "@rollup/plugin-image": "^2.0.6",
@@ -1,3 +0,0 @@
1
- <svg width="24" height="24" viewBox="0 0 24 24" fill="#dadada" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M17 8H18C19.1 8 20 8.9 20 10V20C20 21.1 19.1 22 18 22H6C4.9 22 4 21.1 4 20V10C4 8.9 4.9 8 6 8H7V6C7 3.24 9.24 1 12 1C14.76 1 17 3.24 17 6V8ZM12 3C10.34 3 9 4.34 9 6V8H15V6C15 4.34 13.66 3 12 3ZM6 20V10H18V20H6ZM14 15C14 16.1 13.1 17 12 17C10.9 17 10 16.1 10 15C10 13.9 10.9 13 12 13C13.1 13 14 13.9 14 15Z" fill="#dadada"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M16 6V8H17H18C19.1 8 20 8.9 20 10V20C20 21.1 19.1 22 18 22H6C4.9 22 4 21.1 4 20V10C4 8.9 4.9 8 6 8H14V6C14 3.24 16.24 1 19 1C21.76 1 24 3.24 24 6H22C22 4.34 20.66 3 19 3C17.34 3 16 4.34 16 6ZM6 20H18V10H6V20ZM12 17C13.1 17 14 16.1 14 15C14 13.9 13.1 13 12 13C10.9 13 10 13.9 10 15C10 16.1 10.9 17 12 17Z" fill="#03BCD4"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg width="24" height="24" viewBox="0 0 24 24" fill="white" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M17 8H18C19.1 8 20 8.9 20 10V20C20 21.1 19.1 22 18 22H6C4.9 22 4 21.1 4 20V10C4 8.9 4.9 8 6 8H7V6C7 3.24 9.24 1 12 1C14.76 1 17 3.24 17 6V8ZM12 3C10.34 3 9 4.34 9 6V8H15V6C15 4.34 13.66 3 12 3ZM6 20V10H18V20H6ZM14 15C14 16.1 13.1 17 12 17C10.9 17 10 16.1 10 15C10 13.9 10.9 13 12 13C13.1 13 14 13.9 14 15Z" fill="white"/>
3
- </svg>