@corva/ui 3.75.0-18 → 3.75.0-19
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/ConfirmationDialog.js +1 -1
- package/cjs-bundle/components/ConfirmationDialog.js.map +1 -1
- package/cjs-bundle/components/EmojiIconButton.js +1 -1
- package/cjs-bundle/components/EmojiIconButton.js.map +1 -1
- package/components/ConfirmationDialog.d.ts +75 -12
- package/components/ConfirmationDialog.js +1 -1
- package/components/ConfirmationDialog.js.map +1 -1
- package/components/EmojiIconButton.d.ts +4 -34
- package/components/EmojiIconButton.d.ts.map +1 -1
- package/components/EmojiIconButton.js +1 -1
- package/components/EmojiIconButton.js.map +1 -1
- package/components/__tests__/ConfirmationDialog.test.d.ts +2 -0
- package/components/__tests__/ConfirmationDialog.test.d.ts.map +1 -0
- package/components/__tests__/EmojiIconButton.test.d.ts +2 -0
- package/components/__tests__/EmojiIconButton.test.d.ts.map +1 -0
- package/mcp-server/server.mjs +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("@babel/runtime/helpers/
|
|
1
|
+
"use strict";var e=require("@babel/runtime/helpers/slicedToArray"),t=require("react"),i=require("prop-types"),a=require("@material-ui/core/styles"),r=require("@material-ui/core/Typography"),l=require("@material-ui/core/TextField"),o=require("@material-ui/core/DialogTitle"),n=require("@material-ui/core/DialogContent"),u=require("@material-ui/core/DialogContentText"),c=require("@material-ui/core/DialogActions"),d=require("@material-ui/core/Button"),s=require("@material-ui/core/Dialog"),f=require("react/jsx-runtime");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=m(e),h=m(i),x=m(r),g=m(l),v=m(o),q=m(n),b=m(u),j=m(c),y=m(d),C=m(s),T="confirmationDialog",k=function(){};function B(e){var i=e.open,a=e.title,r=void 0===a?void 0:a,l=e.text,o=e.confirmationText,n=void 0===o?null:o,u=e.confirmation,c=void 0===u?"":u,d=e.handleClose,s=void 0===d?k:d,m=e.handleOk,h=void 0===m?k:m,B=e.okText,D=void 0===B?"Ok":B,N=e.disableOk,O=void 0!==N&&N,S=e.isShowCancel,w=void 0===S||S,R=e.classes,_=t.useState(""),A=p.default(_,2),F=A[0],L=A[1],W=f.jsxs(f.Fragment,{children:[w&&f.jsx(y.default,{variant:"text","data-testid":"".concat(T,"_cancelButton"),className:R.actionButton,onClick:s,color:"primary",children:"Cancel"}),f.jsx(y.default,{variant:"contained","data-testid":"".concat(T,"_confirmButton"),className:R.actionButton,onClick:h,disabled:O||n&&c!==F,color:"primary",children:D})]});return f.jsxs(C.default,{open:i,onClose:s,"aria-labelledby":"confirmation-dialog-title",classes:{paper:R.paper},children:[f.jsx(v.default,{id:"confirmation-dialog-title",children:r}),f.jsx(q.default,{children:f.jsxs(b.default,{children:[f.jsx(x.default,{variant:"body2",className:R.content,children:l}),n&&f.jsx(g.default,{fullWidth:!0,"data-testid":"".concat(T,"_input"),label:n,value:F,onChange:function(e){return L(e.target.value)},className:R.confirmation})]})}),f.jsx(j.default,{className:R.actions,children:W})]})}B.propTypes={open:h.default.bool.isRequired,title:h.default.string,text:h.default.string.isRequired,confirmationText:h.default.string,confirmation:h.default.string,handleClose:h.default.func,handleOk:h.default.func,okText:h.default.string,disableOk:h.default.bool,isShowCancel:h.default.bool,classes:h.default.shape({}).isRequired};var D=a.withStyles({actionButton:{marginLeft:15},confirmation:{marginTop:10}})(B);module.exports=D;
|
|
2
2
|
//# sourceMappingURL=ConfirmationDialog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmationDialog.js","sources":["../../../src/components/ConfirmationDialog.js"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"ConfirmationDialog.js","sources":["../../../src/components/ConfirmationDialog.js"],"sourcesContent":["import { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\nimport Typography from '@material-ui/core/Typography';\nimport TextField from '@material-ui/core/TextField';\nimport DialogTitle from '@material-ui/core/DialogTitle';\nimport DialogContent from '@material-ui/core/DialogContent';\nimport DialogContentText from '@material-ui/core/DialogContentText';\nimport DialogActions from '@material-ui/core/DialogActions';\nimport Button from '@material-ui/core/Button';\nimport Dialog from '@material-ui/core/Dialog';\n\nconst PAGE_NAME = 'confirmationDialog';\n\nconst muiStyles = {\n actionButton: { marginLeft: 15 },\n confirmation: { marginTop: 10 },\n};\n\nconst noop = () => undefined;\n\n/** @param {PropTypes.InferProps<typeof ConfirmationDialog.propTypes>} props */\nfunction ConfirmationDialog({\n open,\n title = undefined,\n text,\n confirmationText = null,\n confirmation = '',\n handleClose = noop,\n handleOk = noop,\n okText = 'Ok',\n disableOk = false,\n isShowCancel = true,\n classes,\n}) {\n const [confirmationTextField, setConfirmationTextField] = useState('');\n\n const actions = (\n <>\n {isShowCancel && (\n <Button\n variant=\"text\"\n data-testid={`${PAGE_NAME}_cancelButton`}\n className={classes.actionButton}\n onClick={handleClose}\n color=\"primary\"\n >\n Cancel\n </Button>\n )}\n <Button\n variant=\"contained\"\n data-testid={`${PAGE_NAME}_confirmButton`}\n className={classes.actionButton}\n onClick={handleOk}\n disabled={disableOk || (confirmationText && confirmation !== confirmationTextField)}\n color=\"primary\"\n >\n {okText}\n </Button>\n </>\n );\n return (\n <Dialog\n open={open}\n onClose={handleClose}\n aria-labelledby=\"confirmation-dialog-title\"\n classes={{ paper: classes.paper }}\n >\n <DialogTitle id=\"confirmation-dialog-title\">{title}</DialogTitle>\n\n <DialogContent>\n <DialogContentText>\n <Typography variant=\"body2\" className={classes.content}>\n {text}\n </Typography>\n {confirmationText && (\n <TextField\n fullWidth\n data-testid={`${PAGE_NAME}_input`}\n label={confirmationText}\n value={confirmationTextField}\n onChange={e => setConfirmationTextField(e.target.value)}\n className={classes.confirmation}\n />\n )}\n </DialogContentText>\n </DialogContent>\n <DialogActions className={classes.actions}>{actions}</DialogActions>\n </Dialog>\n );\n}\n\nConfirmationDialog.propTypes = {\n open: PropTypes.bool.isRequired,\n title: PropTypes.string,\n text: PropTypes.string.isRequired,\n confirmationText: PropTypes.string,\n confirmation: PropTypes.string,\n handleClose: PropTypes.func,\n handleOk: PropTypes.func,\n okText: PropTypes.string,\n disableOk: PropTypes.bool,\n isShowCancel: PropTypes.bool,\n\n classes: PropTypes.shape({}).isRequired,\n};\n\nexport default withStyles(muiStyles)(ConfirmationDialog);\n"],"names":["PAGE_NAME","noop","ConfirmationDialog","_ref","open","_ref$title","title","undefined","text","_ref$confirmationText","confirmationText","_ref$confirmation","confirmation","_ref$handleClose","handleClose","_ref$handleOk","handleOk","_ref$okText","okText","_ref$disableOk","disableOk","_ref$isShowCancel","isShowCancel","classes","useState","_useState2","_slicedToArray","_useState","confirmationTextField","setConfirmationTextField","actions","_jsxs","jsxs","_Fragment","children","_jsx","jsx","Button","variant","concat","className","actionButton","onClick","color","disabled","Dialog","onClose","paper","DialogTitle","id","DialogContent","DialogContentText","Typography","content","TextField","fullWidth","label","value","onChange","e","target","DialogActions","propTypes","PropTypes","bool","isRequired","string","func","shape","ConfirmationDialogJs","withStyles","marginLeft","marginTop"],"mappings":"0pBAYMA,EAAY,qBAOZC,EAAO,WAAe,EAG5B,SAASC,EAYNC,GAAA,IAXDC,IAAAA,KAAIC,EAAAF,EACJG,MAAAA,kBAAQC,EAASF,EACjBG,IAAAA,KAAIC,EAAAN,EACJO,iBAAAA,aAAmB,KAAID,EAAAE,EAAAR,EACvBS,aAAAA,aAAe,GAAED,EAAAE,EAAAV,EACjBW,YAAAA,aAAcb,EAAIY,EAAAE,EAAAZ,EAClBa,SAAAA,aAAWf,EAAIc,EAAAE,EAAAd,EACfe,OAAAA,aAAS,KAAID,EAAAE,EAAAhB,EACbiB,UAAAA,cAAiBD,EAAAE,EAAAlB,EACjBmB,aAAAA,cAAmBD,EACnBE,IAAAA,QAE0DC,EAAAA,EAAQA,SAAC,IAAGC,EAAAC,EAAAA,QAAAC,EAAA,GAA/DC,EAAqBH,EAAA,GAAEI,EAAwBJ,EAAA,GAEhDK,EACJC,EAAAC,KAAAC,WAAA,CAAAC,SACGZ,CAAAA,GACCa,EAAAC,IAACC,UAAM,CACLC,QAAQ,OACR,cAAA,GAAAC,OAAgBvC,EAAyB,iBACzCwC,UAAWjB,EAAQkB,aACnBC,QAAS5B,EACT6B,MAAM,UAAST,SAAA,WAKnBC,MAACE,UAAM,CACLC,QAAQ,YACR,cAAA,GAAAC,OAAgBvC,EAA0B,kBAC1CwC,UAAWjB,EAAQkB,aACnBC,QAAS1B,EACT4B,SAAUxB,GAAcV,GAAoBE,IAAiBgB,EAC7De,MAAM,UAAST,SAEdhB,OAIP,OACEa,EAAAA,KAACc,EAAAA,QAAM,CACLzC,KAAMA,EACN0C,QAAShC,EACT,kBAAgB,4BAChBS,QAAS,CAAEwB,MAAOxB,EAAQwB,OAAQb,SAAA,CAElCC,MAACa,UAAW,CAACC,GAAG,4BAA2Bf,SAAE5B,IAE7C6B,MAACe,UAAa,CAAAhB,SACZH,OAACoB,UAAiB,CAAAjB,SAAA,CAChBC,MAACiB,UAAU,CAACd,QAAQ,QAAQE,UAAWjB,EAAQ8B,QAAQnB,SACpD1B,IAEFE,GACCyB,EAAAC,IAACkB,UAAS,CACRC,WAAS,EACT,cAAA,GAAAhB,OAAgBvC,EAAkB,UAClCwD,MAAO9C,EACP+C,MAAO7B,EACP8B,SAAU,SAAAC,GAAC,OAAI9B,EAAyB8B,EAAEC,OAAOH,MAAO,EACxDjB,UAAWjB,EAAQX,oBAK3BuB,MAAC0B,UAAa,CAACrB,UAAWjB,EAAQO,QAAQI,SAAEJ,MAGlD,CAEA5B,EAAmB4D,UAAY,CAC7B1D,KAAM2D,EAAAA,QAAUC,KAAKC,WACrB3D,MAAOyD,EAAS,QAACG,OACjB1D,KAAMuD,EAAAA,QAAUG,OAAOD,WACvBvD,iBAAkBqD,EAAS,QAACG,OAC5BtD,aAAcmD,EAAS,QAACG,OACxBpD,YAAaiD,EAAS,QAACI,KACvBnD,SAAU+C,EAAS,QAACI,KACpBjD,OAAQ6C,EAAS,QAACG,OAClB9C,UAAW2C,EAAS,QAACC,KACrB1C,aAAcyC,EAAS,QAACC,KAExBzC,QAASwC,EAAS,QAACK,MAAM,CAAA,GAAIH,YAG/B,IAAAI,EAAeC,aA9FG,CAChB7B,aAAc,CAAE8B,WAAY,IAC5B3D,aAAc,CAAE4D,UAAW,KA4FdF,CAAsBpE"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("@babel/runtime/helpers/
|
|
1
|
+
"use strict";var e=require("@babel/runtime/helpers/slicedToArray"),t=require("react"),i=require("emoji-mart"),o=require("prop-types"),r=require("@material-ui/core/Popover"),n=require("./IconButton/index.js"),l=require("./Icons/EmojiIcon.js"),a=require("react/jsx-runtime");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=u(e),d=u(o),c=u(r),p={title:"Add Emoji"};function m(e){var o=e.handleSelectEmoji,r=e.emojiIconClassName,u=void 0===r?void 0:r,d=e.disableRipple,m=void 0!==d&&d,f=e.closeOnSelect,j=void 0===f||f,v=e["data-testid"],h=void 0===v?"generic_emojiButton":v,b=e.tooltipProps,q=void 0===b?p:b,g=e.icon,x=void 0===g?void 0:g,E=t.useState(!1),R=s.default(E,2),S=R[0],I=R[1],P=t.useRef(null);return a.jsxs(a.Fragment,{children:[a.jsx(n,{"data-testid":h,buttonRef:function(e){P.current=e},"aria-label":"Emoji",onClick:function(){return I(!0)},disableRipple:m,className:u,tooltipProps:q,children:x||a.jsx(l,{})}),a.jsx(c.default,{open:S,anchorEl:P.current,onClose:function(){return I(!1)},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:a.jsx(i.Picker,{onSelect:function(e){o(e),j&&I(!1)},theme:"dark"})})]})}m.propTypes={handleSelectEmoji:d.default.func.isRequired,emojiIconClassName:d.default.string,disableRipple:d.default.bool,closeOnSelect:d.default.bool,"data-testid":d.default.string,tooltipProps:d.default.shape({}),icon:d.default.node};var f=t.memo(m);module.exports=f;
|
|
2
2
|
//# sourceMappingURL=EmojiIconButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmojiIconButton.js","sources":["../../../src/components/EmojiIconButton.js"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"EmojiIconButton.js","sources":["../../../src/components/EmojiIconButton.js"],"sourcesContent":["import { memo, useRef, useState } from 'react';\nimport { Picker } from 'emoji-mart';\nimport PropTypes from 'prop-types';\nimport Popover from '@material-ui/core/Popover';\n\nimport IconButton from '~components/IconButton';\nimport EmojiIcon from '~components/Icons/EmojiIcon';\n\nconst defaultTooltipProps = { title: 'Add Emoji' };\n\n/** @param {any} props Preserve the legacy component's permissive public prop type. */\nfunction EmojiIconButton({\n handleSelectEmoji,\n emojiIconClassName = undefined,\n disableRipple = false,\n closeOnSelect = true,\n 'data-testid': testId = 'generic_emojiButton',\n tooltipProps = defaultTooltipProps,\n icon = undefined,\n}) {\n const [openEmojiPicker, setOpenEmojiPicker] = useState(false);\n const anchorEl = useRef(null);\n\n const onSelect = emoji => {\n handleSelectEmoji(emoji);\n if (closeOnSelect) {\n setOpenEmojiPicker(false);\n }\n };\n\n return (\n <>\n <IconButton\n data-testid={testId}\n buttonRef={node => {\n anchorEl.current = node;\n }}\n aria-label=\"Emoji\"\n onClick={() => setOpenEmojiPicker(true)}\n disableRipple={disableRipple}\n className={emojiIconClassName}\n tooltipProps={tooltipProps}\n >\n {icon || <EmojiIcon />}\n </IconButton>\n\n <Popover\n open={openEmojiPicker}\n anchorEl={anchorEl.current}\n onClose={() => setOpenEmojiPicker(false)}\n anchorOrigin={{\n vertical: 'bottom',\n horizontal: 'right',\n }}\n transformOrigin={{\n vertical: 'top',\n horizontal: 'right',\n }}\n >\n <Picker onSelect={onSelect} theme=\"dark\" />\n </Popover>\n </>\n );\n}\n\nEmojiIconButton.propTypes = {\n handleSelectEmoji: PropTypes.func.isRequired,\n emojiIconClassName: PropTypes.string,\n disableRipple: PropTypes.bool,\n closeOnSelect: PropTypes.bool,\n 'data-testid': PropTypes.string,\n tooltipProps: PropTypes.shape({}),\n icon: PropTypes.node,\n};\n\nexport default memo(EmojiIconButton);\n"],"names":["defaultTooltipProps","title","EmojiIconButton","_ref","handleSelectEmoji","_ref$emojiIconClassNa","emojiIconClassName","undefined","_ref$disableRipple","disableRipple","_ref$closeOnSelect","closeOnSelect","_ref$dataTestid","testId","_ref$tooltipProps","tooltipProps","_ref$icon","icon","useState","_useState2","_slicedToArray","_useState","openEmojiPicker","setOpenEmojiPicker","anchorEl","useRef","_jsxs","_Fragment","children","_jsx","IconButton","buttonRef","node","current","onClick","className","EmojiIcon","Popover","open","onClose","anchorOrigin","vertical","horizontal","transformOrigin","Picker","onSelect","emoji","theme","propTypes","PropTypes","func","isRequired","string","bool","shape","memo"],"mappings":"kXAQMA,EAAsB,CAAEC,MAAO,aAGrC,SAASC,EAQNC,GAAA,IAPDC,IAAAA,kBAAiBC,EAAAF,EACjBG,mBAAAA,kBAAqBC,EAASF,EAAAG,EAAAL,EAC9BM,cAAAA,cAAqBD,EAAAE,EAAAP,EACrBQ,cAAAA,cAAoBD,EAAAE,EAAAT,EACpB,eAAeU,aAAS,sBAAqBD,EAAAE,EAAAX,EAC7CY,aAAAA,aAAef,EAAmBc,EAAAE,EAAAb,EAClCc,KAAAA,kBAAOV,EAASS,EAE8BE,EAAAA,EAAQA,UAAC,GAAMC,EAAAC,EAAAA,QAAAC,EAAA,GAAtDC,EAAeH,EAAA,GAAEI,EAAkBJ,EAAA,GACpCK,EAAWC,SAAO,MASxB,OACEC,EAAAA,KAAAC,EAAAA,SAAA,CAAAC,SAAA,CACEC,MAACC,EAAU,CACT,cAAajB,EACbkB,UAAW,SAAAC,GACTR,EAASS,QAAUD,CACnB,EACF,aAAW,QACXE,QAAS,WAAA,OAAMX,GAAmB,EAAM,EACxCd,cAAeA,EACf0B,UAAW7B,EACXS,aAAcA,EAAaa,SAE1BX,GAAQY,MAACO,EAAS,CAAA,KAGrBP,MAACQ,UAAO,CACNC,KAAMhB,EACNE,SAAUA,EAASS,QACnBM,QAAS,WAAA,OAAMhB,GAAmB,EAAO,EACzCiB,aAAc,CACZC,SAAU,SACVC,WAAY,SAEdC,gBAAiB,CACfF,SAAU,MACVC,WAAY,SACZd,SAEFC,MAACe,SAAM,CAACC,SApCG,SAAAC,GACf1C,EAAkB0C,GACdnC,GACFY,GAAmB,IAiCWwB,MAAM,aAI1C,CAEA7C,EAAgB8C,UAAY,CAC1B5C,kBAAmB6C,EAAAA,QAAUC,KAAKC,WAClC7C,mBAAoB2C,EAAS,QAACG,OAC9B3C,cAAewC,EAAS,QAACI,KACzB1C,cAAesC,EAAS,QAACI,KACzB,cAAeJ,EAAS,QAACG,OACzBrC,aAAckC,EAAAA,QAAUK,MAAM,IAC9BrC,KAAMgC,EAAS,QAACjB,MAGlB,IAAeuB,EAAAA,EAAAA,KAAKrD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
-
declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.
|
|
2
|
+
declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferPropsInner<Pick<{
|
|
3
3
|
open: PropTypes.Validator<boolean>;
|
|
4
4
|
title: PropTypes.Requireable<string>;
|
|
5
5
|
text: PropTypes.Validator<string>;
|
|
@@ -11,7 +11,7 @@ declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferP
|
|
|
11
11
|
disableOk: PropTypes.Requireable<boolean>;
|
|
12
12
|
isShowCancel: PropTypes.Requireable<boolean>;
|
|
13
13
|
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
14
|
-
}
|
|
14
|
+
}, PropTypes.RequiredKeys<{
|
|
15
15
|
open: PropTypes.Validator<boolean>;
|
|
16
16
|
title: PropTypes.Requireable<string>;
|
|
17
17
|
text: PropTypes.Validator<string>;
|
|
@@ -23,15 +23,78 @@ declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferP
|
|
|
23
23
|
disableOk: PropTypes.Requireable<boolean>;
|
|
24
24
|
isShowCancel: PropTypes.Requireable<boolean>;
|
|
25
25
|
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
26
|
+
}>>> & Partial<PropTypes.InferPropsInner<Pick<{
|
|
27
|
+
open: PropTypes.Validator<boolean>;
|
|
28
|
+
title: PropTypes.Requireable<string>;
|
|
29
|
+
text: PropTypes.Validator<string>;
|
|
30
|
+
confirmationText: PropTypes.Requireable<string>;
|
|
31
|
+
confirmation: PropTypes.Requireable<string>;
|
|
32
|
+
handleClose: PropTypes.Requireable<(...args: any[]) => any>;
|
|
33
|
+
handleOk: PropTypes.Requireable<(...args: any[]) => any>;
|
|
34
|
+
okText: PropTypes.Requireable<string>;
|
|
35
|
+
disableOk: PropTypes.Requireable<boolean>;
|
|
36
|
+
isShowCancel: PropTypes.Requireable<boolean>;
|
|
37
|
+
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
38
|
+
}, "confirmation" | "confirmationText" | "disableOk" | "handleClose" | "handleOk" | "isShowCancel" | "okText" | "title">>>, "confirmation" | "confirmationText" | "disableOk" | "handleClose" | "handleOk" | "isShowCancel" | "okText" | "title" | PropTypes.RequiredKeys<{
|
|
39
|
+
open: PropTypes.Validator<boolean>;
|
|
40
|
+
title: PropTypes.Requireable<string>;
|
|
41
|
+
text: PropTypes.Validator<string>;
|
|
42
|
+
confirmationText: PropTypes.Requireable<string>;
|
|
43
|
+
confirmation: PropTypes.Requireable<string>;
|
|
44
|
+
handleClose: PropTypes.Requireable<(...args: any[]) => any>;
|
|
45
|
+
handleOk: PropTypes.Requireable<(...args: any[]) => any>;
|
|
46
|
+
okText: PropTypes.Requireable<string>;
|
|
47
|
+
disableOk: PropTypes.Requireable<boolean>;
|
|
48
|
+
isShowCancel: PropTypes.Requireable<boolean>;
|
|
49
|
+
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
50
|
+
}>> & Pick<PropTypes.InferProps<{
|
|
51
|
+
open: PropTypes.Validator<boolean>;
|
|
52
|
+
title: PropTypes.Requireable<string>;
|
|
53
|
+
text: PropTypes.Validator<string>;
|
|
54
|
+
confirmationText: PropTypes.Requireable<string>;
|
|
55
|
+
confirmation: PropTypes.Requireable<string>;
|
|
56
|
+
handleClose: PropTypes.Requireable<(...args: any[]) => any>;
|
|
57
|
+
handleOk: PropTypes.Requireable<(...args: any[]) => any>;
|
|
58
|
+
okText: PropTypes.Requireable<string>;
|
|
59
|
+
disableOk: PropTypes.Requireable<boolean>;
|
|
60
|
+
isShowCancel: PropTypes.Requireable<boolean>;
|
|
61
|
+
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
62
|
+
}>, never> & Pick<PropTypes.InferPropsInner<Pick<{
|
|
63
|
+
open: PropTypes.Validator<boolean>;
|
|
64
|
+
title: PropTypes.Requireable<string>;
|
|
65
|
+
text: PropTypes.Validator<string>;
|
|
66
|
+
confirmationText: PropTypes.Requireable<string>;
|
|
67
|
+
confirmation: PropTypes.Requireable<string>;
|
|
68
|
+
handleClose: PropTypes.Requireable<(...args: any[]) => any>;
|
|
69
|
+
handleOk: PropTypes.Requireable<(...args: any[]) => any>;
|
|
70
|
+
okText: PropTypes.Requireable<string>;
|
|
71
|
+
disableOk: PropTypes.Requireable<boolean>;
|
|
72
|
+
isShowCancel: PropTypes.Requireable<boolean>;
|
|
73
|
+
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
74
|
+
}, PropTypes.RequiredKeys<{
|
|
75
|
+
open: PropTypes.Validator<boolean>;
|
|
76
|
+
title: PropTypes.Requireable<string>;
|
|
77
|
+
text: PropTypes.Validator<string>;
|
|
78
|
+
confirmationText: PropTypes.Requireable<string>;
|
|
79
|
+
confirmation: PropTypes.Requireable<string>;
|
|
80
|
+
handleClose: PropTypes.Requireable<(...args: any[]) => any>;
|
|
81
|
+
handleOk: PropTypes.Requireable<(...args: any[]) => any>;
|
|
82
|
+
okText: PropTypes.Requireable<string>;
|
|
83
|
+
disableOk: PropTypes.Requireable<boolean>;
|
|
84
|
+
isShowCancel: PropTypes.Requireable<boolean>;
|
|
85
|
+
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
86
|
+
}>>> & Partial<PropTypes.InferPropsInner<Pick<{
|
|
87
|
+
open: PropTypes.Validator<boolean>;
|
|
88
|
+
title: PropTypes.Requireable<string>;
|
|
89
|
+
text: PropTypes.Validator<string>;
|
|
90
|
+
confirmationText: PropTypes.Requireable<string>;
|
|
91
|
+
confirmation: PropTypes.Requireable<string>;
|
|
92
|
+
handleClose: PropTypes.Requireable<(...args: any[]) => any>;
|
|
93
|
+
handleOk: PropTypes.Requireable<(...args: any[]) => any>;
|
|
94
|
+
okText: PropTypes.Requireable<string>;
|
|
95
|
+
disableOk: PropTypes.Requireable<boolean>;
|
|
96
|
+
isShowCancel: PropTypes.Requireable<boolean>;
|
|
97
|
+
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
98
|
+
}, "confirmation" | "confirmationText" | "disableOk" | "handleClose" | "handleOk" | "isShowCancel" | "okText" | "title">>>, never>, "confirmation" | "confirmationText" | "disableOk" | "handleClose" | "handleOk" | "isShowCancel" | "okText" | "open" | "text" | "title"> & import("@material-ui/styles").StyledComponentProps<"actionButton" | "confirmation">>;
|
|
36
99
|
export default _default;
|
|
37
100
|
//# sourceMappingURL=ConfirmationDialog.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import i from"@babel/runtime/helpers/slicedToArray";import{useState as o}from"react";import t from"prop-types";import{withStyles as e}from"@material-ui/core/styles";import a from"@material-ui/core/Typography";import r from"@material-ui/core/TextField";import n from"@material-ui/core/DialogTitle";import l from"@material-ui/core/DialogContent";import c from"@material-ui/core/DialogContentText";import m from"@material-ui/core/DialogActions";import s from"@material-ui/core/Button";import d from"@material-ui/core/Dialog";import{jsxs as p,Fragment as u,jsx as f}from"react/jsx-runtime";var h="confirmationDialog",g=function(){};function v(t){var e=t.open,v=t.title,b=void 0===v?void 0:v,x=t.text,C=t.confirmationText,T=void 0===C?null:C,y=t.confirmation,k=void 0===y?"":y,B=t.handleClose,D=void 0===B?g:B,N=t.handleOk,O=void 0===N?g:N,q=t.okText,R=void 0===q?"Ok":q,_=t.disableOk,w=void 0!==_&&_,A=t.isShowCancel,S=void 0===A||A,j=t.classes,F=o(""),L=i(F,2),W=L[0],z=L[1],E=p(u,{children:[S&&f(s,{variant:"text","data-testid":"".concat(h,"_cancelButton"),className:j.actionButton,onClick:D,color:"primary",children:"Cancel"}),f(s,{variant:"contained","data-testid":"".concat(h,"_confirmButton"),className:j.actionButton,onClick:O,disabled:w||T&&k!==W,color:"primary",children:R})]});return p(d,{open:e,onClose:D,"aria-labelledby":"confirmation-dialog-title",classes:{paper:j.paper},children:[f(n,{id:"confirmation-dialog-title",children:b}),f(l,{children:p(c,{children:[f(a,{variant:"body2",className:j.content,children:x}),T&&f(r,{fullWidth:!0,"data-testid":"".concat(h,"_input"),label:T,value:W,onChange:function(i){return z(i.target.value)},className:j.confirmation})]})}),f(m,{className:j.actions,children:E})]})}v.propTypes={open:t.bool.isRequired,title:t.string,text:t.string.isRequired,confirmationText:t.string,confirmation:t.string,handleClose:t.func,handleOk:t.func,okText:t.string,disableOk:t.bool,isShowCancel:t.bool,classes:t.shape({}).isRequired};var b=e({actionButton:{marginLeft:15},confirmation:{marginTop:10}})(v);export{b as default};
|
|
2
2
|
//# sourceMappingURL=ConfirmationDialog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmationDialog.js","sources":["../../src/components/ConfirmationDialog.js"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"ConfirmationDialog.js","sources":["../../src/components/ConfirmationDialog.js"],"sourcesContent":["import { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\nimport Typography from '@material-ui/core/Typography';\nimport TextField from '@material-ui/core/TextField';\nimport DialogTitle from '@material-ui/core/DialogTitle';\nimport DialogContent from '@material-ui/core/DialogContent';\nimport DialogContentText from '@material-ui/core/DialogContentText';\nimport DialogActions from '@material-ui/core/DialogActions';\nimport Button from '@material-ui/core/Button';\nimport Dialog from '@material-ui/core/Dialog';\n\nconst PAGE_NAME = 'confirmationDialog';\n\nconst muiStyles = {\n actionButton: { marginLeft: 15 },\n confirmation: { marginTop: 10 },\n};\n\nconst noop = () => undefined;\n\n/** @param {PropTypes.InferProps<typeof ConfirmationDialog.propTypes>} props */\nfunction ConfirmationDialog({\n open,\n title = undefined,\n text,\n confirmationText = null,\n confirmation = '',\n handleClose = noop,\n handleOk = noop,\n okText = 'Ok',\n disableOk = false,\n isShowCancel = true,\n classes,\n}) {\n const [confirmationTextField, setConfirmationTextField] = useState('');\n\n const actions = (\n <>\n {isShowCancel && (\n <Button\n variant=\"text\"\n data-testid={`${PAGE_NAME}_cancelButton`}\n className={classes.actionButton}\n onClick={handleClose}\n color=\"primary\"\n >\n Cancel\n </Button>\n )}\n <Button\n variant=\"contained\"\n data-testid={`${PAGE_NAME}_confirmButton`}\n className={classes.actionButton}\n onClick={handleOk}\n disabled={disableOk || (confirmationText && confirmation !== confirmationTextField)}\n color=\"primary\"\n >\n {okText}\n </Button>\n </>\n );\n return (\n <Dialog\n open={open}\n onClose={handleClose}\n aria-labelledby=\"confirmation-dialog-title\"\n classes={{ paper: classes.paper }}\n >\n <DialogTitle id=\"confirmation-dialog-title\">{title}</DialogTitle>\n\n <DialogContent>\n <DialogContentText>\n <Typography variant=\"body2\" className={classes.content}>\n {text}\n </Typography>\n {confirmationText && (\n <TextField\n fullWidth\n data-testid={`${PAGE_NAME}_input`}\n label={confirmationText}\n value={confirmationTextField}\n onChange={e => setConfirmationTextField(e.target.value)}\n className={classes.confirmation}\n />\n )}\n </DialogContentText>\n </DialogContent>\n <DialogActions className={classes.actions}>{actions}</DialogActions>\n </Dialog>\n );\n}\n\nConfirmationDialog.propTypes = {\n open: PropTypes.bool.isRequired,\n title: PropTypes.string,\n text: PropTypes.string.isRequired,\n confirmationText: PropTypes.string,\n confirmation: PropTypes.string,\n handleClose: PropTypes.func,\n handleOk: PropTypes.func,\n okText: PropTypes.string,\n disableOk: PropTypes.bool,\n isShowCancel: PropTypes.bool,\n\n classes: PropTypes.shape({}).isRequired,\n};\n\nexport default withStyles(muiStyles)(ConfirmationDialog);\n"],"names":["PAGE_NAME","noop","ConfirmationDialog","_ref","open","_ref$title","title","undefined","text","_ref$confirmationText","confirmationText","_ref$confirmation","confirmation","_ref$handleClose","handleClose","_ref$handleOk","handleOk","_ref$okText","okText","_ref$disableOk","disableOk","_ref$isShowCancel","isShowCancel","classes","useState","_useState2","_slicedToArray","_useState","confirmationTextField","setConfirmationTextField","actions","_jsxs","_Fragment","children","_jsx","Button","variant","concat","className","actionButton","onClick","color","disabled","Dialog","onClose","paper","DialogTitle","id","DialogContent","DialogContentText","Typography","content","TextField","fullWidth","label","value","onChange","e","target","DialogActions","propTypes","PropTypes","bool","isRequired","string","func","shape","ConfirmationDialogJs","withStyles","marginLeft","marginTop"],"mappings":"0kBAYA,IAAMA,EAAY,qBAOZC,EAAO,WAAe,EAG5B,SAASC,EAYNC,GAAA,IAXDC,IAAAA,KAAIC,EAAAF,EACJG,MAAAA,kBAAQC,EAASF,EACjBG,IAAAA,KAAIC,EAAAN,EACJO,iBAAAA,aAAmB,KAAID,EAAAE,EAAAR,EACvBS,aAAAA,aAAe,GAAED,EAAAE,EAAAV,EACjBW,YAAAA,aAAcb,EAAIY,EAAAE,EAAAZ,EAClBa,SAAAA,aAAWf,EAAIc,EAAAE,EAAAd,EACfe,OAAAA,aAAS,KAAID,EAAAE,EAAAhB,EACbiB,UAAAA,cAAiBD,EAAAE,EAAAlB,EACjBmB,aAAAA,cAAmBD,EACnBE,IAAAA,QAE0DC,EAAAA,EAAS,IAAGC,EAAAC,EAAAC,EAAA,GAA/DC,EAAqBH,EAAA,GAAEI,EAAwBJ,EAAA,GAEhDK,EACJC,EAAAC,EAAA,CAAAC,SACGX,CAAAA,GACCY,EAACC,EAAM,CACLC,QAAQ,OACR,cAAA,GAAAC,OAAgBrC,EAAyB,iBACzCsC,UAAWf,EAAQgB,aACnBC,QAAS1B,EACT2B,MAAM,UAASR,SAAA,WAKnBC,EAACC,EAAM,CACLC,QAAQ,YACR,cAAA,GAAAC,OAAgBrC,EAA0B,kBAC1CsC,UAAWf,EAAQgB,aACnBC,QAASxB,EACT0B,SAAUtB,GAAcV,GAAoBE,IAAiBgB,EAC7Da,MAAM,UAASR,SAEdf,OAIP,OACEa,EAACY,EAAM,CACLvC,KAAMA,EACNwC,QAAS9B,EACT,kBAAgB,4BAChBS,QAAS,CAAEsB,MAAOtB,EAAQsB,OAAQZ,SAAA,CAElCC,EAACY,EAAW,CAACC,GAAG,4BAA2Bd,SAAE3B,IAE7C4B,EAACc,EAAa,CAAAf,SACZF,EAACkB,EAAiB,CAAAhB,SAAA,CAChBC,EAACgB,EAAU,CAACd,QAAQ,QAAQE,UAAWf,EAAQ4B,QAAQlB,SACpDzB,IAEFE,GACCwB,EAACkB,EAAS,CACRC,WAAS,EACT,cAAA,GAAAhB,OAAgBrC,EAAkB,UAClCsD,MAAO5C,EACP6C,MAAO3B,EACP4B,SAAU,SAAAC,GAAC,OAAI5B,EAAyB4B,EAAEC,OAAOH,MAAO,EACxDjB,UAAWf,EAAQX,oBAK3BsB,EAACyB,EAAa,CAACrB,UAAWf,EAAQO,QAAQG,SAAEH,MAGlD,CAEA5B,EAAmB0D,UAAY,CAC7BxD,KAAMyD,EAAUC,KAAKC,WACrBzD,MAAOuD,EAAUG,OACjBxD,KAAMqD,EAAUG,OAAOD,WACvBrD,iBAAkBmD,EAAUG,OAC5BpD,aAAciD,EAAUG,OACxBlD,YAAa+C,EAAUI,KACvBjD,SAAU6C,EAAUI,KACpB/C,OAAQ2C,EAAUG,OAClB5C,UAAWyC,EAAUC,KACrBxC,aAAcuC,EAAUC,KAExBvC,QAASsC,EAAUK,MAAM,CAAA,GAAIH,YAG/B,IAAAI,EAAeC,EA9FG,CAChB7B,aAAc,CAAE8B,WAAY,IAC5BzD,aAAc,CAAE0D,UAAW,KA4FdF,CAAsBlE"}
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
state: {
|
|
6
|
-
openEmojiPicker: boolean;
|
|
7
|
-
};
|
|
8
|
-
anchorEl: any;
|
|
9
|
-
constructor(props: any);
|
|
10
|
-
onSelect: (emoji: any) => void;
|
|
11
|
-
render(): import("react").JSX.Element;
|
|
12
|
-
}
|
|
13
|
-
declare namespace EmojiIconButton {
|
|
14
|
-
var propTypes: {
|
|
15
|
-
handleSelectEmoji: PropTypes.Validator<(...args: any[]) => any>;
|
|
16
|
-
emojiIconClassName: PropTypes.Requireable<string>;
|
|
17
|
-
disableRipple: PropTypes.Requireable<boolean>;
|
|
18
|
-
closeOnSelect: PropTypes.Requireable<boolean>;
|
|
19
|
-
'data-testid': PropTypes.Requireable<string>;
|
|
20
|
-
tooltipProps: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
21
|
-
icon: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
22
|
-
};
|
|
23
|
-
var defaultProps: {
|
|
24
|
-
emojiIconClassName: undefined;
|
|
25
|
-
disableRipple: boolean;
|
|
26
|
-
closeOnSelect: boolean;
|
|
27
|
-
'data-testid': string;
|
|
28
|
-
tooltipProps: {
|
|
29
|
-
title: string;
|
|
30
|
-
};
|
|
31
|
-
icon: undefined;
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
export default EmojiIconButton;
|
|
1
|
+
/** @param {any} props Preserve the legacy component's permissive public prop type. */
|
|
2
|
+
declare function EmojiIconButton({ handleSelectEmoji, emojiIconClassName, disableRipple, closeOnSelect, 'data-testid': testId, tooltipProps, icon, }: any): import("react").JSX.Element;
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<typeof EmojiIconButton>;
|
|
4
|
+
export default _default;
|
|
35
5
|
//# sourceMappingURL=EmojiIconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmojiIconButton.d.ts","sourceRoot":"","sources":["../../src/components/EmojiIconButton.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EmojiIconButton.d.ts","sourceRoot":"","sources":["../../src/components/EmojiIconButton.js"],"names":[],"mappings":"AAUA,sFAAsF;AACtF,iBAAS,eAAe,CAAC,EACvB,iBAAiB,EACjB,kBAA8B,EAC9B,aAAqB,EACrB,aAAoB,EACpB,aAAa,EAAE,MAA8B,EAC7C,YAAkC,EAClC,IAAgB,GACjB,EATW,GASX,+BA4CA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from"@babel/runtime/helpers/slicedToArray";import{memo as i,useState as e,useRef as t}from"react";import{Picker as r}from"emoji-mart";import n from"prop-types";import l from"@material-ui/core/Popover";import a from"./IconButton/index.js";import c from"./Icons/EmojiIcon.js";import{jsxs as m,Fragment as p,jsx as s}from"react/jsx-runtime";var d={title:"Add Emoji"};function u(i){var n=i.handleSelectEmoji,u=i.emojiIconClassName,f=void 0===u?void 0:u,h=i.disableRipple,v=void 0!==h&&h,j=i.closeOnSelect,b=void 0===j||j,g=i["data-testid"],E=void 0===g?"generic_emojiButton":g,I=i.tooltipProps,R=void 0===I?d:I,S=i.icon,C=void 0===S?void 0:S,O=e(!1),P=o(O,2),x=P[0],y=P[1],N=t(null);return m(p,{children:[s(a,{"data-testid":E,buttonRef:function(o){N.current=o},"aria-label":"Emoji",onClick:function(){return y(!0)},disableRipple:v,className:f,tooltipProps:R,children:C||s(c,{})}),s(l,{open:x,anchorEl:N.current,onClose:function(){return y(!1)},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:s(r,{onSelect:function(o){n(o),b&&y(!1)},theme:"dark"})})]})}u.propTypes={handleSelectEmoji:n.func.isRequired,emojiIconClassName:n.string,disableRipple:n.bool,closeOnSelect:n.bool,"data-testid":n.string,tooltipProps:n.shape({}),icon:n.node};var f=i(u);export{f as default};
|
|
2
2
|
//# sourceMappingURL=EmojiIconButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmojiIconButton.js","sources":["../../src/components/EmojiIconButton.js"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"EmojiIconButton.js","sources":["../../src/components/EmojiIconButton.js"],"sourcesContent":["import { memo, useRef, useState } from 'react';\nimport { Picker } from 'emoji-mart';\nimport PropTypes from 'prop-types';\nimport Popover from '@material-ui/core/Popover';\n\nimport IconButton from '~components/IconButton';\nimport EmojiIcon from '~components/Icons/EmojiIcon';\n\nconst defaultTooltipProps = { title: 'Add Emoji' };\n\n/** @param {any} props Preserve the legacy component's permissive public prop type. */\nfunction EmojiIconButton({\n handleSelectEmoji,\n emojiIconClassName = undefined,\n disableRipple = false,\n closeOnSelect = true,\n 'data-testid': testId = 'generic_emojiButton',\n tooltipProps = defaultTooltipProps,\n icon = undefined,\n}) {\n const [openEmojiPicker, setOpenEmojiPicker] = useState(false);\n const anchorEl = useRef(null);\n\n const onSelect = emoji => {\n handleSelectEmoji(emoji);\n if (closeOnSelect) {\n setOpenEmojiPicker(false);\n }\n };\n\n return (\n <>\n <IconButton\n data-testid={testId}\n buttonRef={node => {\n anchorEl.current = node;\n }}\n aria-label=\"Emoji\"\n onClick={() => setOpenEmojiPicker(true)}\n disableRipple={disableRipple}\n className={emojiIconClassName}\n tooltipProps={tooltipProps}\n >\n {icon || <EmojiIcon />}\n </IconButton>\n\n <Popover\n open={openEmojiPicker}\n anchorEl={anchorEl.current}\n onClose={() => setOpenEmojiPicker(false)}\n anchorOrigin={{\n vertical: 'bottom',\n horizontal: 'right',\n }}\n transformOrigin={{\n vertical: 'top',\n horizontal: 'right',\n }}\n >\n <Picker onSelect={onSelect} theme=\"dark\" />\n </Popover>\n </>\n );\n}\n\nEmojiIconButton.propTypes = {\n handleSelectEmoji: PropTypes.func.isRequired,\n emojiIconClassName: PropTypes.string,\n disableRipple: PropTypes.bool,\n closeOnSelect: PropTypes.bool,\n 'data-testid': PropTypes.string,\n tooltipProps: PropTypes.shape({}),\n icon: PropTypes.node,\n};\n\nexport default memo(EmojiIconButton);\n"],"names":["defaultTooltipProps","title","EmojiIconButton","_ref","handleSelectEmoji","_ref$emojiIconClassNa","emojiIconClassName","undefined","_ref$disableRipple","disableRipple","_ref$closeOnSelect","closeOnSelect","_ref$dataTestid","testId","_ref$tooltipProps","tooltipProps","_ref$icon","icon","useState","_useState2","_slicedToArray","_useState","openEmojiPicker","setOpenEmojiPicker","anchorEl","useRef","_jsxs","_Fragment","children","_jsx","IconButton","buttonRef","node","current","onClick","className","EmojiIcon","Popover","open","onClose","anchorOrigin","vertical","horizontal","transformOrigin","Picker","onSelect","emoji","theme","propTypes","PropTypes","func","isRequired","string","bool","shape","memo"],"mappings":"2VAQA,IAAMA,EAAsB,CAAEC,MAAO,aAGrC,SAASC,EAQNC,GAAA,IAPDC,IAAAA,kBAAiBC,EAAAF,EACjBG,mBAAAA,kBAAqBC,EAASF,EAAAG,EAAAL,EAC9BM,cAAAA,cAAqBD,EAAAE,EAAAP,EACrBQ,cAAAA,cAAoBD,EAAAE,EAAAT,EACpB,eAAeU,aAAS,sBAAqBD,EAAAE,EAAAX,EAC7CY,aAAAA,aAAef,EAAmBc,EAAAE,EAAAb,EAClCc,KAAAA,kBAAOV,EAASS,EAE8BE,EAAAA,GAAS,GAAMC,EAAAC,EAAAC,EAAA,GAAtDC,EAAeH,EAAA,GAAEI,EAAkBJ,EAAA,GACpCK,EAAWC,EAAO,MASxB,OACEC,EAAAC,EAAA,CAAAC,SAAA,CACEC,EAACC,EAAU,CACT,cAAajB,EACbkB,UAAW,SAAAC,GACTR,EAASS,QAAUD,CACnB,EACF,aAAW,QACXE,QAAS,WAAA,OAAMX,GAAmB,EAAM,EACxCd,cAAeA,EACf0B,UAAW7B,EACXS,aAAcA,EAAaa,SAE1BX,GAAQY,EAACO,EAAS,CAAA,KAGrBP,EAACQ,EAAO,CACNC,KAAMhB,EACNE,SAAUA,EAASS,QACnBM,QAAS,WAAA,OAAMhB,GAAmB,EAAO,EACzCiB,aAAc,CACZC,SAAU,SACVC,WAAY,SAEdC,gBAAiB,CACfF,SAAU,MACVC,WAAY,SACZd,SAEFC,EAACe,EAAM,CAACC,SApCG,SAAAC,GACf1C,EAAkB0C,GACdnC,GACFY,GAAmB,IAiCWwB,MAAM,aAI1C,CAEA7C,EAAgB8C,UAAY,CAC1B5C,kBAAmB6C,EAAUC,KAAKC,WAClC7C,mBAAoB2C,EAAUG,OAC9B3C,cAAewC,EAAUI,KACzB1C,cAAesC,EAAUI,KACzB,cAAeJ,EAAUG,OACzBrC,aAAckC,EAAUK,MAAM,IAC9BrC,KAAMgC,EAAUjB,MAGlB,IAAeuB,EAAAA,EAAKrD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmationDialog.test.d.ts","sourceRoot":"","sources":["../../../src/components/__tests__/ConfirmationDialog.test.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmojiIconButton.test.d.ts","sourceRoot":"","sources":["../../../src/components/__tests__/EmojiIconButton.test.js"],"names":[],"mappings":""}
|
package/mcp-server/server.mjs
CHANGED