@corva/ui 0.77.0-5 → 0.77.0-7
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/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
- package/cjs-bundle/icons/index.js +1 -1
- package/components/Chart/DonutChart/options.d.ts +7 -0
- package/components/Chart/DonutChart/options.d.ts.map +1 -1
- package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
- package/icons/index.d.ts +3 -0
- package/icons/index.d.ts.map +1 -1
- package/icons/index.js +1 -1
- package/package.json +1 -1
package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require('./../../../ext-esm/tslib/tslib.es6.js'),r=require("react/jsx-runtime"),t=require("react"),i=require("lodash"),a=require("@material-ui/core"),n=require("../../../utils/mobileDetect.js"),s=require("../../Modal/Modal.js"),o=require("../../Button/index.js"),l=require("../RealTimeSidebarContext.js"),u=a.makeStyles({selectFormControl:{width:"80%",marginRight:"1rem"},cancelButton:{margin:"0 16px 0 auto"}});var c=t.memo((function(c){var d=c.isDialogOpen,m=c.paramToEdit,g=c.handleCloseRealTimeDialog,
|
|
1
|
+
"use strict";var e=require('./../../../ext-esm/tslib/tslib.es6.js'),r=require("react/jsx-runtime"),t=require("react"),i=require("lodash"),a=require("@material-ui/core"),n=require("../../../utils/mobileDetect.js"),s=require("../../Modal/Modal.js"),o=require("../../Button/index.js"),l=require("../RealTimeSidebarContext.js"),u=a.makeStyles({selectFormControl:{width:"80%",marginRight:"1rem"},cancelButton:{margin:"0 16px 0 auto"}});var c=t.memo((function(c){var d=c.isDialogOpen,m=c.paramToEdit,g=c.handleCloseRealTimeDialog,_=t.useContext(l),p=_.onAppSettingChange,h=_.appSettings,f=_.assetKey,x=_.realTimeTypes,j=_.setting,C=_.handleChangeParamToEdit,v=u(),y=function(r){var t;p("rtValuesSetting",e.__assign(e.__assign({},h.rtValuesSetting),((t={})[f]=r,t)))},q=t.useState(m),S=q[0],b=q[1];return t.useEffect((function(){b(m)}),[m]),r.jsx(s,e.__assign({open:d,onClose:g,title:"Add/Edit Real-Time Parameter",size:n.isMobileDetected?"extraLarge":"medium",actions:r.jsxs(r.Fragment,{children:[r.jsx(o,e.__assign({color:"primary",classes:{root:v.cancelButton},onClick:g},{children:"Cancel"})),m&&r.jsx(o,e.__assign({color:"primary",onClick:function(){var e=j.filter((function(e){return e!==m}));y(e),C(""),g()}},{children:"Delete"})),r.jsx(o,e.__assign({variation:"primary",onClick:function(){var r;if(m)r=j.map((function(e){return e===m?S:e}));else{if(j.find((function(e){return e===S})))return void g();r=e.__spreadArray([S],j,!0)}r=i.uniq(r),y(r),C(""),g()},disabled:!S},{children:"Save"}))]})},{children:r.jsxs(a.FormControl,e.__assign({classes:{root:v.selectFormControl},"data-testid":"addEditRealTimeParameterDropdown"},{children:[r.jsx(a.InputLabel,e.__assign({htmlFor:"parameter"},{children:"Parameter"})),r.jsx(a.Select,e.__assign({value:S||"",inputProps:{name:"parameter",id:"parameter"},onChange:function(e){b(String(e.target.value))}},{children:x.map((function(t){return r.jsx(a.MenuItem,e.__assign({"data-testid":"".concat(t.key,"_menuItem"),value:t.key,disabled:j.includes(t.key)},{children:t.name}),t.key)}))}))]}))}))}));module.exports=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("./WithCustomSize.js"),o=require("./IconParkProvider.js"),e=t.withCustomSize("AddOne"),i=t.withCustomSize("AllApplication"),s=t.withCustomSize("Attention"),n=t.withCustomSize("Average"),r=t.withCustomSize("ChartHistogramTwo"),p=t.withCustomSize("BubbleChart"),C=t.withCustomSize("Broadcast"),c=t.withCustomSize("Caution"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("./WithCustomSize.js"),o=require("./IconParkProvider.js"),e=t.withCustomSize("AddOne"),i=t.withCustomSize("AllApplication"),s=t.withCustomSize("Attention"),n=t.withCustomSize("Average"),r=t.withCustomSize("ChartHistogramTwo"),p=t.withCustomSize("BubbleChart"),C=t.withCustomSize("Broadcast"),c=t.withCustomSize("Caution"),m=t.withCustomSize("Calendar"),u=t.withCustomSize("ChartProportion"),S=t.withCustomSize("CenterAlignment"),h=t.withCustomSize("CheckOne"),w=t.withCustomSize("CheckSmall"),I=t.withCustomSize("Close"),x=t.withCustomSize("CloseSmall"),z=t.withCustomSize("Code"),a=t.withCustomSize("CollapseTextInput"),l=t.withCustomSize("Copy"),d=t.withCustomSize("DeleteFour"),g=t.withCustomSize("Download"),P=t.withCustomSize("Down"),U=t.withCustomSize("DownSmall"),A=t.withCustomSize("DownOne"),k=t.withCustomSize("ExpandTextInput"),O=t.withCustomSize("Filter"),T=t.withCustomSize("FiveFive"),L=t.withCustomSize("FullScreenOne"),v=t.withCustomSize("HamburgerButton"),D=t.withCustomSize("HandleRound"),F=t.withCustomSize("ChartHistogram"),H=t.withCustomSize("Help"),M=t.withCustomSize("Layers"),y=t.withCustomSize("Info"),R=t.withCustomSize("LeftAlignment"),b=t.withCustomSize("Left"),f=t.withCustomSize("ChartLine"),B=t.withCustomSize("LinkTwo"),V=t.withCustomSize("Lock"),j=t.withCustomSize("Message"),W=t.withCustomSize("Minus"),q=t.withCustomSize("More"),E=t.withCustomSize("MoveInOne"),_=t.withCustomSize("People"),G=t.withCustomSize("Peoples"),J=t.withCustomSize("Plus"),K=t.withCustomSize("Platte"),N=t.withCustomSize("Detection"),Q=t.withCustomSize("Puzzle"),X=t.withCustomSize("Redo"),Y=t.withCustomSize("Remind"),Z=t.withCustomSize("Right"),$=t.withCustomSize("ScatterAlignment"),tt=t.withCustomSize("Search"),ot=t.withCustomSize("Send"),et=t.withCustomSize("SettingOne"),it=t.withCustomSize("SettingTwo"),st=t.withCustomSize("SmilingFace"),nt=t.withCustomSize("SortThree"),rt=t.withCustomSize("Star"),pt=t.withCustomSize("Time"),Ct=t.withCustomSize("Undo"),ct=t.withCustomSize("Unlock"),mt=t.withCustomSize("Upload"),ut=t.withCustomSize("Up"),St=t.withCustomSize("UpSmall"),ht=t.withCustomSize("User"),wt=t.withCustomSize("VerticalTidyUp"),It=t.withCustomSize("Write"),xt=t.withCustomSize("VerticalTidyUp"),zt=t.withCustomSize("ChartHistogram"),at=t.withCustomSize("UpOne");exports.IconParkProvider=o.IconParkProvider,exports.AddOneIcon=e,exports.ApplicationIcon=i,exports.AttentionIcon=s,exports.AverageIcon=n,exports.BarChartIcon=r,exports.BroadcastIcon=C,exports.BubbleChartIcon=p,exports.CalendarIcon=m,exports.CautionIcon=c,exports.CenterAlignmentIcon=S,exports.ChartHistogramIcon=zt,exports.ChartProportionIcon=u,exports.CheckOneIcon=h,exports.CheckSmallIcon=w,exports.CloseIcon=I,exports.CloseSmallIcon=x,exports.CodeIcon=z,exports.CollapseIcon=a,exports.CopyIcon=l,exports.DeleteFourIcon=d,exports.DownIcon=P,exports.DownOneIcon=A,exports.DownSmallIcon=U,exports.DownloadIcon=g,exports.ExpandIcon=k,exports.FilterIcon=O,exports.FiveIcon=T,exports.FullScreenOneIcon=L,exports.HamburgerButtonIcon=v,exports.HandleRoundIcon=D,exports.HelpIcon=H,exports.HistogramIcon=F,exports.InfoIcon=y,exports.LayersIcon=M,exports.LeftAlignmentIcon=R,exports.LeftIcon=b,exports.LineChartIcon=f,exports.LinkTwoIcon=B,exports.LockIcon=V,exports.MessageIcon=j,exports.MinusIcon=W,exports.MoreIcon=q,exports.MoveInIcon=E,exports.PaletteIcon=K,exports.PeopleIcon=_,exports.PeoplesIcon=G,exports.PickerIcon=N,exports.PlusIcon=J,exports.PuzzleIcon=Q,exports.RedoIcon=X,exports.RemindIcon=Y,exports.RightIcon=Z,exports.ScatterAlignmentIcon=$,exports.SearchIcon=tt,exports.SendIcon=ot,exports.SettingOneIcon=et,exports.SettingTwoIcon=it,exports.SmilingFaceIcon=st,exports.SortThreeIcon=nt,exports.StarIcon=rt,exports.TimeIcon=pt,exports.UndoIcon=Ct,exports.UnlockIcon=ct,exports.UpIcon=ut,exports.UpOneIcon=at,exports.UpSmallIcon=St,exports.UploadIcon=mt,exports.UserIcon=ht,exports.VerticalLinesIcon=wt,exports.VerticalTidyUpIcon=xt,exports.WriteIcon=It;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/DonutChart/options.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/DonutChart/options.js"],"names":[],"mappings":"AAkJO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBN;AA9JD,yCA2BC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__assign as e,__spreadArray as
|
|
1
|
+
import{__assign as e,__spreadArray as t}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as r,jsxs as i,Fragment as a}from"react/jsx-runtime";import{memo as n,useContext as o,useState as l,useEffect as m}from"react";import{uniq as d}from"lodash";import{makeStyles as c,FormControl as s,InputLabel as u,Select as p,MenuItem as f}from"@material-ui/core";import{isMobileDetected as h}from"../../../utils/mobileDetect.js";import g from"../../Modal/Modal.js";import v from"../../Button/index.js";import C from"../RealTimeSidebarContext.js";var y=c({selectFormControl:{width:"80%",marginRight:"1rem"},cancelButton:{margin:"0 16px 0 auto"}});var T=n((function(n){var c=n.isDialogOpen,T=n.paramToEdit,k=n.handleCloseRealTimeDialog,S=o(C),b=S.onAppSettingChange,j=S.appSettings,x=S.assetKey,D=S.realTimeTypes,P=S.setting,R=S.handleChangeParamToEdit,E=y(),B=function(t){var r;b("rtValuesSetting",e(e({},j.rtValuesSetting),((r={})[x]=t,r)))},F=l(T),w=F[0],A=F[1];return m((function(){A(T)}),[T]),r(g,e({open:c,onClose:k,title:"Add/Edit Real-Time Parameter",size:h?"extraLarge":"medium",actions:i(a,{children:[r(v,e({color:"primary",classes:{root:E.cancelButton},onClick:k},{children:"Cancel"})),T&&r(v,e({color:"primary",onClick:function(){var e=P.filter((function(e){return e!==T}));B(e),R(""),k()}},{children:"Delete"})),r(v,e({variation:"primary",onClick:function(){var e;if(T)e=P.map((function(e){return e===T?w:e}));else{if(P.find((function(e){return e===w})))return void k();e=t([w],P,!0)}e=d(e),B(e),R(""),k()},disabled:!w},{children:"Save"}))]})},{children:i(s,e({classes:{root:E.selectFormControl},"data-testid":"addEditRealTimeParameterDropdown"},{children:[r(u,e({htmlFor:"parameter"},{children:"Parameter"})),r(p,e({value:w||"",inputProps:{name:"parameter",id:"parameter"},onChange:function(e){A(String(e.target.value))}},{children:D.map((function(t){return r(f,e({"data-testid":"".concat(t.key,"_menuItem"),value:t.key,disabled:P.includes(t.key)},{children:t.name}),t.key)}))}))]}))}))}));export{T as default};
|
package/icons/index.d.ts
CHANGED
|
@@ -67,4 +67,7 @@ export const UpSmallIcon: ({ size, className, ...rest }: import("./types").IconP
|
|
|
67
67
|
export const UserIcon: ({ size, className, ...rest }: import("./types").IconPropsType) => JSX.Element;
|
|
68
68
|
export const VerticalLinesIcon: ({ size, className, ...rest }: import("./types").IconPropsType) => JSX.Element;
|
|
69
69
|
export const WriteIcon: ({ size, className, ...rest }: import("./types").IconPropsType) => JSX.Element;
|
|
70
|
+
export const VerticalTidyUpIcon: ({ size, className, ...rest }: import("./types").IconPropsType) => JSX.Element;
|
|
71
|
+
export const ChartHistogramIcon: ({ size, className, ...rest }: import("./types").IconPropsType) => JSX.Element;
|
|
72
|
+
export const UpOneIcon: ({ size, className, ...rest }: import("./types").IconPropsType) => JSX.Element;
|
|
70
73
|
//# sourceMappingURL=index.d.ts.map
|
package/icons/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/icons/index.js"],"names":[],"mappings":";AAIA,wGAAmD;AACnD,6GAAgE;AAChE,2GAAyD;AACzD,yGAAqD;AACrD,0GAAgE;AAChE,6GAA6D;AAC7D,2GAAyD;AACzD,yGAAqD;AACrD,0GAAuD;AACvD,iHAAqE;AACrE,iHAAqE;AACrE,0GAAuD;AACvD,4GAA2D;AAC3D,uGAAiD;AACjD,4GAA2D;AAC3D,sGAA+C;AAC/C,0GAAgE;AAChE,sGAA+C;AAC/C,4GAA2D;AAC3D,0GAAuD;AACvD,sGAA+C;AAC/C,2GAAyD;AACzD,yGAAqD;AACrD,wGAA4D;AAC5D,wGAAmD;AACnD,sGAAmD;AACnD,+GAAiE;AACjE,iHAAqE;AACrE,6GAA6D;AAC7D,2GAA8D;AAC9D,sGAA+C;AAC/C,wGAAmD;AACnD,sGAA+C;AAC/C,+GAAiE;AACjE,sGAA+C;AAC/C,2GAAyD;AACzD,yGAAqD;AACrD,sGAA+C;AAC/C,yGAAqD;AACrD,uGAAiD;AACjD,sGAA+C;AAC/C,wGAAsD;AACtD,wGAAmD;AACnD,yGAAqD;AACrD,sGAA+C;AAC/C,yGAAoD;AACpD,wGAAsD;AACtD,wGAAmD;AACnD,sGAA+C;AAC/C,wGAAmD;AACnD,uGAAiD;AACjD,kHAAuE;AACvE,wGAAmD;AACnD,sGAA+C;AAC/C,4GAA2D;AAC3D,4GAA2D;AAC3D,6GAA6D;AAC7D,2GAAyD;AACzD,sGAA+C;AAC/C,sGAA+C;AAC/C,sGAA+C;AAC/C,wGAAmD;AACnD,wGAAmD;AACnD,oGAA2C;AAC3C,yGAAqD;AACrD,sGAA+C;AAC/C,+GAAkE;AAClE,uGAAiD"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/icons/index.js"],"names":[],"mappings":";AAIA,wGAAmD;AACnD,6GAAgE;AAChE,2GAAyD;AACzD,yGAAqD;AACrD,0GAAgE;AAChE,6GAA6D;AAC7D,2GAAyD;AACzD,yGAAqD;AACrD,0GAAuD;AACvD,iHAAqE;AACrE,iHAAqE;AACrE,0GAAuD;AACvD,4GAA2D;AAC3D,uGAAiD;AACjD,4GAA2D;AAC3D,sGAA+C;AAC/C,0GAAgE;AAChE,sGAA+C;AAC/C,4GAA2D;AAC3D,0GAAuD;AACvD,sGAA+C;AAC/C,2GAAyD;AACzD,yGAAqD;AACrD,wGAA4D;AAC5D,wGAAmD;AACnD,sGAAmD;AACnD,+GAAiE;AACjE,iHAAqE;AACrE,6GAA6D;AAC7D,2GAA8D;AAC9D,sGAA+C;AAC/C,wGAAmD;AACnD,sGAA+C;AAC/C,+GAAiE;AACjE,sGAA+C;AAC/C,2GAAyD;AACzD,yGAAqD;AACrD,sGAA+C;AAC/C,yGAAqD;AACrD,uGAAiD;AACjD,sGAA+C;AAC/C,wGAAsD;AACtD,wGAAmD;AACnD,yGAAqD;AACrD,sGAA+C;AAC/C,yGAAoD;AACpD,wGAAsD;AACtD,wGAAmD;AACnD,sGAA+C;AAC/C,wGAAmD;AACnD,uGAAiD;AACjD,kHAAuE;AACvE,wGAAmD;AACnD,sGAA+C;AAC/C,4GAA2D;AAC3D,4GAA2D;AAC3D,6GAA6D;AAC7D,2GAAyD;AACzD,sGAA+C;AAC/C,sGAA+C;AAC/C,sGAA+C;AAC/C,wGAAmD;AACnD,wGAAmD;AACnD,oGAA2C;AAC3C,yGAAqD;AACrD,sGAA+C;AAC/C,+GAAkE;AAClE,uGAAiD;AACjD,gHAAmE;AACnE,gHAAmE;AACnE,uGAAiD"}
|
package/icons/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{withCustomSize as e}from"./WithCustomSize.js";export{IconParkProvider}from"./IconParkProvider.js";var t=e("AddOne"),o=e("AllApplication"),n=e("Attention"),r=e("Average"),
|
|
1
|
+
import{withCustomSize as e}from"./WithCustomSize.js";export{IconParkProvider}from"./IconParkProvider.js";var t=e("AddOne"),o=e("AllApplication"),n=e("Attention"),r=e("Average"),a=e("ChartHistogramTwo"),l=e("BubbleChart"),i=e("Broadcast"),p=e("Caution"),d=e("Calendar"),m=e("ChartProportion"),s=e("CenterAlignment"),C=e("CheckOne"),c=e("CheckSmall"),S=e("Close"),g=e("CloseSmall"),u=e("Code"),h=e("CollapseTextInput"),P=e("Copy"),T=e("DeleteFour"),U=e("Download"),A=e("Down"),k=e("DownSmall"),v=e("DownOne"),w=e("ExpandTextInput"),O=e("Filter"),D=e("FiveFive"),F=e("FullScreenOne"),H=e("HamburgerButton"),I=e("HandleRound"),L=e("ChartHistogram"),f=e("Help"),x=e("Layers"),y=e("Info"),M=e("LeftAlignment"),R=e("Left"),b=e("ChartLine"),z=e("LinkTwo"),B=e("Lock"),j=e("Message"),V=e("Minus"),W=e("More"),E=e("MoveInOne"),q=e("People"),G=e("Peoples"),J=e("Plus"),K=e("Platte"),N=e("Detection"),Q=e("Puzzle"),X=e("Redo"),Y=e("Remind"),Z=e("Right"),$=e("ScatterAlignment"),_=e("Search"),ee=e("Send"),te=e("SettingOne"),oe=e("SettingTwo"),ne=e("SmilingFace"),re=e("SortThree"),ae=e("Star"),le=e("Time"),ie=e("Undo"),pe=e("Unlock"),de=e("Upload"),me=e("Up"),se=e("UpSmall"),Ce=e("User"),ce=e("VerticalTidyUp"),Se=e("Write"),ge=e("VerticalTidyUp"),ue=e("ChartHistogram"),he=e("UpOne");export{t as AddOneIcon,o as ApplicationIcon,n as AttentionIcon,r as AverageIcon,a as BarChartIcon,i as BroadcastIcon,l as BubbleChartIcon,d as CalendarIcon,p as CautionIcon,s as CenterAlignmentIcon,ue as ChartHistogramIcon,m as ChartProportionIcon,C as CheckOneIcon,c as CheckSmallIcon,S as CloseIcon,g as CloseSmallIcon,u as CodeIcon,h as CollapseIcon,P as CopyIcon,T as DeleteFourIcon,A as DownIcon,v as DownOneIcon,k as DownSmallIcon,U as DownloadIcon,w as ExpandIcon,O as FilterIcon,D as FiveIcon,F as FullScreenOneIcon,H as HamburgerButtonIcon,I as HandleRoundIcon,f as HelpIcon,L as HistogramIcon,y as InfoIcon,x as LayersIcon,M as LeftAlignmentIcon,R as LeftIcon,b as LineChartIcon,z as LinkTwoIcon,B as LockIcon,j as MessageIcon,V as MinusIcon,W as MoreIcon,E as MoveInIcon,K as PaletteIcon,q as PeopleIcon,G as PeoplesIcon,N as PickerIcon,J as PlusIcon,Q as PuzzleIcon,X as RedoIcon,Y as RemindIcon,Z as RightIcon,$ as ScatterAlignmentIcon,_ as SearchIcon,ee as SendIcon,te as SettingOneIcon,oe as SettingTwoIcon,ne as SmilingFaceIcon,re as SortThreeIcon,ae as StarIcon,le as TimeIcon,ie as UndoIcon,pe as UnlockIcon,me as UpIcon,he as UpOneIcon,se as UpSmallIcon,de as UploadIcon,Ce as UserIcon,ce as VerticalLinesIcon,ge as VerticalTidyUpIcon,Se as WriteIcon};
|