@tipp/ui 1.6.5 → 1.6.6
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/app/index.cjs +46 -15
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +5 -5
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +38 -12
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +4 -4
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +24 -9
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.d.cts +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.d.ts +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +2 -2
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +22 -9
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.d.cts +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.d.ts +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +2 -2
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +16 -9
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.d.cts +2 -1
- package/dist/app/platform/userInfos/session-user-info-detail.d.ts +2 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +2 -2
- package/dist/app/platform/userInfos/utils.cjs +8 -6
- package/dist/app/platform/userInfos/utils.cjs.map +1 -1
- package/dist/app/platform/userInfos/utils.d.cts +12 -2
- package/dist/app/platform/userInfos/utils.d.ts +12 -2
- package/dist/app/platform/userInfos/utils.js +1 -1
- package/dist/chunk-2QBJJBBV.js +145 -0
- package/dist/chunk-2QBJJBBV.js.map +1 -0
- package/dist/chunk-373AW6HR.js +277 -0
- package/dist/chunk-373AW6HR.js.map +1 -0
- package/dist/chunk-5E6WM7Z4.js +64 -0
- package/dist/chunk-5E6WM7Z4.js.map +1 -0
- package/dist/chunk-7NXD7PLX.js +74 -0
- package/dist/chunk-7NXD7PLX.js.map +1 -0
- package/dist/chunk-BJ2HH4TJ.js +57 -0
- package/dist/chunk-BJ2HH4TJ.js.map +1 -0
- package/dist/chunk-HKRIJNY6.js +64 -0
- package/dist/chunk-HKRIJNY6.js.map +1 -0
- package/dist/chunk-IJSQS7YT.js +74 -0
- package/dist/chunk-IJSQS7YT.js.map +1 -0
- package/dist/chunk-MD2DWARX.js +64 -0
- package/dist/chunk-MD2DWARX.js.map +1 -0
- package/dist/chunk-NHFRCEK6.js +102 -0
- package/dist/chunk-NHFRCEK6.js.map +1 -0
- package/dist/chunk-NJWCZXWW.js +30 -0
- package/dist/chunk-NJWCZXWW.js.map +1 -0
- package/dist/chunk-RAUCQTT3.js +57 -0
- package/dist/chunk-RAUCQTT3.js.map +1 -0
- package/dist/chunk-TTIKEEMM.js +192 -0
- package/dist/chunk-TTIKEEMM.js.map +1 -0
- package/dist/chunk-UC5ZM5ZM.js +174 -0
- package/dist/chunk-UC5ZM5ZM.js.map +1 -0
- package/dist/chunk-V5EAAF36.js +30 -0
- package/dist/chunk-V5EAAF36.js.map +1 -0
- package/dist/chunk-VWVFUMDN.js +30 -0
- package/dist/chunk-VWVFUMDN.js.map +1 -0
- package/dist/chunk-ZUQARZ2L.js +74 -0
- package/dist/chunk-ZUQARZ2L.js.map +1 -0
- package/dist/index.cjs +46 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +2000 -1996
- package/dist/index.css.map +1 -1
- package/dist/index.js +5 -5
- package/dist/molecules/form/form.d.cts +1 -1
- package/dist/molecules/form/form.d.ts +1 -1
- package/package.json +1 -1
- package/src/app/platform/userInfos/coaching-customer-info/large.tsx +15 -2
- package/src/app/platform/userInfos/coaching-customer-info/medium.tsx +17 -2
- package/src/app/platform/userInfos/session-user-info-detail.tsx +8 -2
- package/src/app/platform/userInfos/utils.tsx +24 -14
package/dist/app/index.cjs
CHANGED
|
@@ -1035,27 +1035,29 @@ var sessionList = [
|
|
|
1035
1035
|
getValue: (session) => (session == null ? void 0 : session.expiredAt) ? (0, import_date_fns.format)(session.expiredAt, "yyyy\uB144 MM\uC6D4 dd\uC77C") : "-"
|
|
1036
1036
|
}
|
|
1037
1037
|
];
|
|
1038
|
-
var renderItem = (
|
|
1038
|
+
var renderItem = (args) => {
|
|
1039
|
+
const { info, data, onClickCopy } = args;
|
|
1039
1040
|
const value = info.getValue(data);
|
|
1040
1041
|
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx_runtime26.Fragment, { children: [
|
|
1041
1042
|
info.render ? info.render(value) : value || "-",
|
|
1042
|
-
info.copyable && value ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(CopyButton, { value }) : null
|
|
1043
|
+
info.copyable && value ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(CopyButton, { onClickCopy, value }) : null
|
|
1043
1044
|
] });
|
|
1044
1045
|
};
|
|
1045
|
-
var renderDataListItem = (
|
|
1046
|
+
var renderDataListItem = (args) => {
|
|
1047
|
+
const { info, data, onClickCopy } = args;
|
|
1046
1048
|
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_themes15.DataList.Item, { children: [
|
|
1047
1049
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_themes15.DataList.Label, { children: info.label }),
|
|
1048
|
-
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_themes15.DataList.Value, { children: renderItem(info, data) })
|
|
1050
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_themes15.DataList.Value, { children: renderItem({ info, data, onClickCopy }) })
|
|
1049
1051
|
] }, info.label);
|
|
1050
1052
|
};
|
|
1051
1053
|
function CopyButton(props) {
|
|
1054
|
+
const { value, onClickCopy } = props;
|
|
1052
1055
|
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1053
1056
|
Button,
|
|
1054
1057
|
{
|
|
1055
1058
|
color: "gray",
|
|
1056
1059
|
onClick: () => {
|
|
1057
|
-
|
|
1058
|
-
import_react_toastify2.toast.success("\uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
|
|
1060
|
+
onClickCopy(value);
|
|
1059
1061
|
},
|
|
1060
1062
|
style: { marginLeft: "0", marginTop: "0" },
|
|
1061
1063
|
variant: "transparent",
|
|
@@ -1070,7 +1072,8 @@ function CoachingCustomerInfoMedium({
|
|
|
1070
1072
|
customer,
|
|
1071
1073
|
session,
|
|
1072
1074
|
children,
|
|
1073
|
-
badge
|
|
1075
|
+
badge,
|
|
1076
|
+
onClickCopy
|
|
1074
1077
|
}) {
|
|
1075
1078
|
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1076
1079
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes6.Box, { children: [
|
|
@@ -1081,13 +1084,23 @@ function CoachingCustomerInfoMedium({
|
|
|
1081
1084
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
1082
1085
|
] }),
|
|
1083
1086
|
children,
|
|
1084
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_themes15.DataList.Root, { orientation: "vertical", children: sessionList.map(
|
|
1087
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_themes15.DataList.Root, { orientation: "vertical", children: sessionList.map(
|
|
1088
|
+
(el) => renderDataListItem({
|
|
1089
|
+
info: el,
|
|
1090
|
+
data: session,
|
|
1091
|
+
onClickCopy
|
|
1092
|
+
})
|
|
1093
|
+
) }) }),
|
|
1085
1094
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", children: [
|
|
1086
1095
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Heading2, { variant: "heading5", children: "\uACE0\uAC1D \uC815\uBCF4" }),
|
|
1087
1096
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_themes39.Separator, { size: "4" })
|
|
1088
1097
|
] }),
|
|
1089
1098
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_themes22.Flex, { direction: "column", gap: "4", children: infoList.map((el) => {
|
|
1090
|
-
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Typo, { children: renderItem(
|
|
1099
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Typo, { children: renderItem({
|
|
1100
|
+
info: el,
|
|
1101
|
+
data: customer,
|
|
1102
|
+
onClickCopy
|
|
1103
|
+
}) }, el.label);
|
|
1091
1104
|
}) })
|
|
1092
1105
|
] });
|
|
1093
1106
|
}
|
|
@@ -1098,7 +1111,8 @@ function CoachingCustomerInfoLarge({
|
|
|
1098
1111
|
customer,
|
|
1099
1112
|
session,
|
|
1100
1113
|
children,
|
|
1101
|
-
badge
|
|
1114
|
+
badge,
|
|
1115
|
+
onClickCopy
|
|
1102
1116
|
}) {
|
|
1103
1117
|
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1104
1118
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_themes6.Box, { children: [
|
|
@@ -1109,9 +1123,21 @@ function CoachingCustomerInfoLarge({
|
|
|
1109
1123
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
1110
1124
|
] }),
|
|
1111
1125
|
children,
|
|
1112
|
-
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
1126
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
1127
|
+
(el) => renderDataListItem({
|
|
1128
|
+
info: el,
|
|
1129
|
+
data: session,
|
|
1130
|
+
onClickCopy
|
|
1131
|
+
})
|
|
1132
|
+
) }) }),
|
|
1113
1133
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_themes39.Separator, { size: "4" }),
|
|
1114
|
-
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
1134
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
1135
|
+
(info) => renderDataListItem({
|
|
1136
|
+
info,
|
|
1137
|
+
data: customer,
|
|
1138
|
+
onClickCopy
|
|
1139
|
+
})
|
|
1140
|
+
) })
|
|
1115
1141
|
] });
|
|
1116
1142
|
}
|
|
1117
1143
|
|
|
@@ -2283,11 +2309,16 @@ function SectionWrapper({
|
|
|
2283
2309
|
}
|
|
2284
2310
|
function SessionUserInfoDetail({
|
|
2285
2311
|
customer,
|
|
2286
|
-
session
|
|
2312
|
+
session,
|
|
2313
|
+
onClickCopy
|
|
2287
2314
|
}) {
|
|
2288
2315
|
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
|
|
2289
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
2290
|
-
|
|
2316
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
2317
|
+
(info) => renderDataListItem({ info, data: session, onClickCopy })
|
|
2318
|
+
) }) }),
|
|
2319
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
2320
|
+
(info) => renderDataListItem({ info, data: customer, onClickCopy })
|
|
2321
|
+
) }) })
|
|
2291
2322
|
] });
|
|
2292
2323
|
}
|
|
2293
2324
|
|