@egov3/system-design 1.3.135 → 1.3.136
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/dist/cjs/components/Messages/MsgBody/index.js +1 -1
- package/dist/cjs/components/Messages/MsgBody/index.js.map +1 -1
- package/dist/esm/components/Messages/MsgBody/index.js +1 -1
- package/dist/esm/components/Messages/MsgBody/index.js.map +1 -1
- package/dist/types/interfaces/Messages.d.ts +2 -0
- package/package.json +1 -1
|
@@ -40,7 +40,7 @@ require('../../../baseComponents/TextareaField/index.js');
|
|
|
40
40
|
var MsgBody_module = require('./MsgBody.module.css.js');
|
|
41
41
|
|
|
42
42
|
const langDic = index.i18n.MsgBody;
|
|
43
|
-
const MsgBody = ({ msgItem, lang, handleDetailsClick, }) => (jsxRuntime.jsxs("div", { "data-testid": "MsgBody_WRAPPER", className: MsgBody_module.default.msgBodyWrapper, children: [jsxRuntime.jsxs("div", { className: MsgBody_module.default.titleWrapper, children: [jsxRuntime.jsx(legacy.BaseComponents.Typography, { tag: "span", fontClass: "caption1Regular", className: MsgBody_module.default.titleCategory, children: msgItem.header.service }), jsxRuntime.jsx(legacy.BaseComponents.Typography, { tag: "span", fontClass: "caption1Regular", className: MsgBody_module.default.title, children: msgItem.header.message })] }), jsxRuntime.jsx("div", { "data-testid": "MsgBodyDescription_WRAPPER", className: MsgBody_module.default.descriptionWrapper, children: msgItem.description?.map((item) => (jsxRuntime.jsxs("div", { children: [item.type === "error" && (jsxRuntime.jsxs(legacy.BaseComponents.Typography, { tag: "span", fontClass: "body2Regular", className: joinClasses.joinClasses(MsgBody_module.default.chatMsgText, MsgBody_module.default["chatMsgText-error"]), children: [jsxRuntime.jsx(WarningFilled.WarningFilledIcon, {}), item.text] })), item.type === "success" && (jsxRuntime.jsxs(legacy.BaseComponents.Typography, { tag: "span", fontClass: "body2Regular", className: joinClasses.joinClasses(MsgBody_module.default.chatMsgText, MsgBody_module.default["chatMsgText-success"]), children: [jsxRuntime.jsx(CheckedFilled.CheckedFilledIcon, {}), item.text] })), item.type === "inProgress" && (jsxRuntime.jsxs(legacy.BaseComponents.Typography, { tag: "span", fontClass: "body2Regular", className: joinClasses.joinClasses(MsgBody_module.default.chatMsgText, MsgBody_module.default["chatMsgText-inProgress"]), children: [jsxRuntime.jsx(TimeFilled.TimeFilledIcon, {}), item.text] })), item.type === "info" && (jsxRuntime.jsxs(legacy.BaseComponents.Typography, { tag: "span", fontClass: "body2Regular", className: joinClasses.joinClasses(MsgBody_module.default.chatMsgText, MsgBody_module.default["chatMsgText-info"]), children: [jsxRuntime.jsx(InfoFilled.InfoFilledIcon, {}), item.text] }))] }, item.text))) }), jsxRuntime.jsx(legacy.BaseComponents.Button, { "aria-label": langDic.AriaReadMoreButton[lang], onClick: handleDetailsClick, variant: msgItem.isRead ? "secondary" : "tinted", className: MsgBody_module.default.readMoreBtn, children: langDic.ReadMore[lang] }), jsxRuntime.jsx(legacy.BaseComponents.Typography, { tag: "time", fontClass: "caption2Regular", "data-testid": "Msg_DATE", className: MsgBody_module.default.chatMsgDate, children: msgItem.time })] }));
|
|
43
|
+
const MsgBody = ({ msgItem, lang, handleDetailsClick, }) => (jsxRuntime.jsxs("div", { "data-testid": "MsgBody_WRAPPER", className: MsgBody_module.default.msgBodyWrapper, children: [jsxRuntime.jsxs("div", { className: MsgBody_module.default.titleWrapper, children: [jsxRuntime.jsx(legacy.BaseComponents.Typography, { tag: "span", fontClass: "caption1Regular", className: MsgBody_module.default.titleCategory, children: msgItem.header.service }), jsxRuntime.jsx(legacy.BaseComponents.Typography, { tag: "span", fontClass: "caption1Regular", className: MsgBody_module.default.title, children: msgItem.header.message })] }), jsxRuntime.jsx("div", { "data-testid": "MsgBodyDescription_WRAPPER", className: MsgBody_module.default.descriptionWrapper, children: msgItem.description?.map((item) => (jsxRuntime.jsxs("div", { children: [item.type === "error" && (jsxRuntime.jsxs(legacy.BaseComponents.Typography, { tag: "span", fontClass: "body2Regular", className: joinClasses.joinClasses(MsgBody_module.default.chatMsgText, MsgBody_module.default["chatMsgText-error"]), children: [jsxRuntime.jsx(WarningFilled.WarningFilledIcon, {}), item.text] })), item.type === "success" && (jsxRuntime.jsxs(legacy.BaseComponents.Typography, { tag: "span", fontClass: "body2Regular", className: joinClasses.joinClasses(MsgBody_module.default.chatMsgText, MsgBody_module.default["chatMsgText-success"]), children: [jsxRuntime.jsx(CheckedFilled.CheckedFilledIcon, {}), item.text] })), item.type === "inProgress" && (jsxRuntime.jsxs(legacy.BaseComponents.Typography, { tag: "span", fontClass: "body2Regular", className: joinClasses.joinClasses(MsgBody_module.default.chatMsgText, MsgBody_module.default["chatMsgText-inProgress"]), children: [jsxRuntime.jsx(TimeFilled.TimeFilledIcon, {}), item.text] })), item.type === "info" && (jsxRuntime.jsxs(legacy.BaseComponents.Typography, { tag: "span", fontClass: "body2Regular", className: joinClasses.joinClasses(MsgBody_module.default.chatMsgText, MsgBody_module.default["chatMsgText-info"]), children: [jsxRuntime.jsx(InfoFilled.InfoFilledIcon, {}), item.text] }))] }, item.text))) }), jsxRuntime.jsx(legacy.BaseComponents.Button, { "aria-label": langDic.AriaReadMoreButton[lang], onClick: handleDetailsClick, variant: msgItem.isRead ? "secondary" : "tinted", className: MsgBody_module.default.readMoreBtn, disabled: msgItem.status === "CREATED", children: langDic.ReadMore[lang] }), jsxRuntime.jsx(legacy.BaseComponents.Typography, { tag: "time", fontClass: "caption2Regular", "data-testid": "Msg_DATE", className: MsgBody_module.default.chatMsgDate, children: msgItem.time })] }));
|
|
44
44
|
|
|
45
45
|
exports.MsgBody = MsgBody;
|
|
46
46
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/components/Messages/MsgBody/index.tsx"],"sourcesContent":[null],"names":["i18n","_jsxs","styles","_jsx","BaseComponents","joinClasses","WarningFilledIcon","CheckedFilledIcon","TimeFilledIcon","InfoFilledIcon"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAM,OAAO,GAAGA,UAAI,CAAC,OAAO;AAErB,MAAM,OAAO,GAAG,CAAC,EACtB,OAAO,EACP,IAAI,EACJ,kBAAkB,GACJ,MACdC,eAAA,CAAA,KAAA,EAAA,EAAA,aAAA,EAAiB,iBAAiB,EAAC,SAAS,EAAEC,sBAAM,CAAC,cAAc,EAAA,QAAA,EAAA,CACjED,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/Messages/MsgBody/index.tsx"],"sourcesContent":[null],"names":["i18n","_jsxs","styles","_jsx","BaseComponents","joinClasses","WarningFilledIcon","CheckedFilledIcon","TimeFilledIcon","InfoFilledIcon"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAM,OAAO,GAAGA,UAAI,CAAC,OAAO;AAErB,MAAM,OAAO,GAAG,CAAC,EACtB,OAAO,EACP,IAAI,EACJ,kBAAkB,GACJ,MACdC,eAAA,CAAA,KAAA,EAAA,EAAA,aAAA,EAAiB,iBAAiB,EAAC,SAAS,EAAEC,sBAAM,CAAC,cAAc,EAAA,QAAA,EAAA,CACjED,eAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAEC,sBAAM,CAAC,YAAY,EAAA,QAAA,EAAA,CACjCC,eAACC,qBAAc,CAAC,UAAU,EAAA,EACxB,GAAG,EAAC,MAAM,EACV,SAAS,EAAC,iBAAiB,EAC3B,SAAS,EAAEF,sBAAM,CAAC,aAAa,EAAA,QAAA,EAE9B,OAAO,CAAC,MAAM,CAAC,OAAO,EAAA,CACG,EAC5BC,eAACC,qBAAc,CAAC,UAAU,EAAA,EACxB,GAAG,EAAC,MAAM,EACV,SAAS,EAAC,iBAAiB,EAC3B,SAAS,EAAEF,sBAAM,CAAC,KAAK,YAEtB,OAAO,CAAC,MAAM,CAAC,OAAO,GACG,CAAA,EAAA,CACxB,EACNC,uCACc,4BAA4B,EACxC,SAAS,EAAED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AAM,CAAC,kBAAkB,CAAC,CAC3B,aAEDC,cAAA,CAACM,yBAAc,KAAG,EACjB,IAAI,CAAC,IAAI,IACgB,CAC7B,CAAA,EAAA,EApDO,IAAI,CAAC,IAAI,CAqDb,CACP,CAAC,GACE,EACNN,cAAA,CAACC,qBAAc,CAAC,MAAM,kBACR,OAAO,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAC5C,OAAO,EAAE,kBAAkB,EAC3B,OAAO,EAAE,OAAO,CAAC,MAAM,GAAG,WAAW,GAAG,QAAQ,EAChD,SAAS,EAAEF,sBAAM,CAAC,WAAW,EAC7B,QAAQ,EAAE,OAAO,CAAC,MAAM,KAAK,SAAS,EAAA,QAAA,EAErC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAA,CACD,EACxBC,cAAA,CAACC,qBAAc,CAAC,UAAU,EAAA,EACxB,GAAG,EAAC,MAAM,EACV,SAAS,EAAC,iBAAiB,EAAA,aAAA,EACf,UAAU,EACtB,SAAS,EAAEF,sBAAM,CAAC,WAAW,YAE5B,OAAO,CAAC,IAAI,EAAA,CACa,CAAA,EAAA,CACxB;;;;"}
|
|
@@ -38,7 +38,7 @@ import '../../../baseComponents/TextareaField/index.js';
|
|
|
38
38
|
import styles from './MsgBody.module.css.js';
|
|
39
39
|
|
|
40
40
|
const langDic = i18n.MsgBody;
|
|
41
|
-
const MsgBody = ({ msgItem, lang, handleDetailsClick, }) => (jsxs("div", { "data-testid": "MsgBody_WRAPPER", className: styles.msgBodyWrapper, children: [jsxs("div", { className: styles.titleWrapper, children: [jsx(BaseComponents.Typography, { tag: "span", fontClass: "caption1Regular", className: styles.titleCategory, children: msgItem.header.service }), jsx(BaseComponents.Typography, { tag: "span", fontClass: "caption1Regular", className: styles.title, children: msgItem.header.message })] }), jsx("div", { "data-testid": "MsgBodyDescription_WRAPPER", className: styles.descriptionWrapper, children: msgItem.description?.map((item) => (jsxs("div", { children: [item.type === "error" && (jsxs(BaseComponents.Typography, { tag: "span", fontClass: "body2Regular", className: joinClasses(styles.chatMsgText, styles["chatMsgText-error"]), children: [jsx(WarningFilledIcon, {}), item.text] })), item.type === "success" && (jsxs(BaseComponents.Typography, { tag: "span", fontClass: "body2Regular", className: joinClasses(styles.chatMsgText, styles["chatMsgText-success"]), children: [jsx(CheckedFilledIcon, {}), item.text] })), item.type === "inProgress" && (jsxs(BaseComponents.Typography, { tag: "span", fontClass: "body2Regular", className: joinClasses(styles.chatMsgText, styles["chatMsgText-inProgress"]), children: [jsx(TimeFilledIcon, {}), item.text] })), item.type === "info" && (jsxs(BaseComponents.Typography, { tag: "span", fontClass: "body2Regular", className: joinClasses(styles.chatMsgText, styles["chatMsgText-info"]), children: [jsx(InfoFilledIcon, {}), item.text] }))] }, item.text))) }), jsx(BaseComponents.Button, { "aria-label": langDic.AriaReadMoreButton[lang], onClick: handleDetailsClick, variant: msgItem.isRead ? "secondary" : "tinted", className: styles.readMoreBtn, children: langDic.ReadMore[lang] }), jsx(BaseComponents.Typography, { tag: "time", fontClass: "caption2Regular", "data-testid": "Msg_DATE", className: styles.chatMsgDate, children: msgItem.time })] }));
|
|
41
|
+
const MsgBody = ({ msgItem, lang, handleDetailsClick, }) => (jsxs("div", { "data-testid": "MsgBody_WRAPPER", className: styles.msgBodyWrapper, children: [jsxs("div", { className: styles.titleWrapper, children: [jsx(BaseComponents.Typography, { tag: "span", fontClass: "caption1Regular", className: styles.titleCategory, children: msgItem.header.service }), jsx(BaseComponents.Typography, { tag: "span", fontClass: "caption1Regular", className: styles.title, children: msgItem.header.message })] }), jsx("div", { "data-testid": "MsgBodyDescription_WRAPPER", className: styles.descriptionWrapper, children: msgItem.description?.map((item) => (jsxs("div", { children: [item.type === "error" && (jsxs(BaseComponents.Typography, { tag: "span", fontClass: "body2Regular", className: joinClasses(styles.chatMsgText, styles["chatMsgText-error"]), children: [jsx(WarningFilledIcon, {}), item.text] })), item.type === "success" && (jsxs(BaseComponents.Typography, { tag: "span", fontClass: "body2Regular", className: joinClasses(styles.chatMsgText, styles["chatMsgText-success"]), children: [jsx(CheckedFilledIcon, {}), item.text] })), item.type === "inProgress" && (jsxs(BaseComponents.Typography, { tag: "span", fontClass: "body2Regular", className: joinClasses(styles.chatMsgText, styles["chatMsgText-inProgress"]), children: [jsx(TimeFilledIcon, {}), item.text] })), item.type === "info" && (jsxs(BaseComponents.Typography, { tag: "span", fontClass: "body2Regular", className: joinClasses(styles.chatMsgText, styles["chatMsgText-info"]), children: [jsx(InfoFilledIcon, {}), item.text] }))] }, item.text))) }), jsx(BaseComponents.Button, { "aria-label": langDic.AriaReadMoreButton[lang], onClick: handleDetailsClick, variant: msgItem.isRead ? "secondary" : "tinted", className: styles.readMoreBtn, disabled: msgItem.status === "CREATED", children: langDic.ReadMore[lang] }), jsx(BaseComponents.Typography, { tag: "time", fontClass: "caption2Regular", "data-testid": "Msg_DATE", className: styles.chatMsgDate, children: msgItem.time })] }));
|
|
42
42
|
|
|
43
43
|
export { MsgBody };
|
|
44
44
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/components/Messages/MsgBody/index.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO;AAErB,MAAM,OAAO,GAAG,CAAC,EACtB,OAAO,EACP,IAAI,EACJ,kBAAkB,GACJ,MACdA,IAAA,CAAA,KAAA,EAAA,EAAA,aAAA,EAAiB,iBAAiB,EAAC,SAAS,EAAE,MAAM,CAAC,cAAc,EAAA,QAAA,EAAA,CACjEA,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/Messages/MsgBody/index.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAM,OAAO,GAAG,IAAI,CAAC,OAA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,UAAU,EACtB,SAAS,EAAE,MAAM,CAAC,WAAW,YAE5B,OAAO,CAAC,IAAI,EAAA,CACa,CAAA,EAAA,CACxB;;;;"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
type TMsgSubMenuKeys = "REQUEST_HISTORY" | "NOTIFICATIONS";
|
|
2
2
|
type TMsgType = "success" | "inProgress" | "info" | "error";
|
|
3
|
+
type TSupportMsgType = "APPROVED" | "CREATED";
|
|
3
4
|
interface IMsgBody {
|
|
4
5
|
text: string;
|
|
5
6
|
type: TMsgType;
|
|
@@ -14,6 +15,7 @@ interface IMsgDataItem {
|
|
|
14
15
|
time: string;
|
|
15
16
|
isRead: boolean;
|
|
16
17
|
msgType: TMsgSubMenuKeys;
|
|
18
|
+
status: TSupportMsgType;
|
|
17
19
|
}
|
|
18
20
|
|
|
19
21
|
export type { IMsgDataItem, TMsgSubMenuKeys };
|