@tipp/ui 1.6.5 → 1.6.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/dist/app/index.cjs +429 -345
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +58 -56
- package/dist/app/platform/coach-question-list.cjs +148 -37
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +31 -27
- package/dist/app/platform/edit-coaching-time.cjs +191 -138
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +39 -37
- package/dist/app/platform/edit-service-type.cjs +184 -131
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +38 -36
- package/dist/app/platform/goal-manage-card-edit.cjs +193 -140
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +39 -37
- package/dist/app/platform/goal-manage-card-read.cjs +178 -67
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +31 -27
- package/dist/app/platform/on-offline-radio-card.cjs +177 -124
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +38 -36
- package/dist/app/platform/report-card.cjs +149 -38
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +31 -27
- package/dist/app/platform/reservation-card.cjs +219 -166
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +39 -37
- package/dist/app/platform/session-card.cjs +236 -183
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +40 -38
- package/dist/app/platform/session-review-simple-read.cjs +149 -38
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +31 -27
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +214 -77
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +37 -33
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +179 -53
- 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 +32 -28
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +180 -56
- 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 +32 -28
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +148 -37
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +30 -26
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +170 -52
- 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 +32 -28
- package/dist/app/platform/userInfos/utils.cjs +156 -43
- 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 +31 -27
- package/dist/atoms/alert-dialog.d.cts +1 -0
- package/dist/atoms/alert-dialog.d.ts +1 -0
- package/dist/atoms/avatar.cjs +17 -4
- package/dist/atoms/avatar.cjs.map +1 -1
- package/dist/atoms/avatar.d.cts +4 -2
- package/dist/atoms/avatar.d.ts +4 -2
- package/dist/atoms/avatar.js +1 -1
- package/dist/atoms/index.cjs +170 -59
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +69 -65
- package/dist/atoms/pagination.cjs +121 -13
- package/dist/atoms/pagination.cjs.map +1 -1
- package/dist/atoms/pagination.js +6 -2
- package/dist/chunk-2QBJJBBV.js +145 -0
- package/dist/chunk-2QBJJBBV.js.map +1 -0
- package/dist/chunk-2QMAWQMN.js +101 -0
- package/dist/chunk-2QMAWQMN.js.map +1 -0
- package/dist/chunk-32KBBMGD.js +350 -0
- package/dist/chunk-32KBBMGD.js.map +1 -0
- package/dist/chunk-373AW6HR.js +277 -0
- package/dist/chunk-373AW6HR.js.map +1 -0
- package/dist/chunk-52EVHZDD.js +145 -0
- package/dist/chunk-52EVHZDD.js.map +1 -0
- package/dist/chunk-5E6WM7Z4.js +64 -0
- package/dist/chunk-5E6WM7Z4.js.map +1 -0
- package/dist/chunk-5VJUNLJB.js +145 -0
- package/dist/chunk-5VJUNLJB.js.map +1 -0
- package/dist/chunk-6FHWDD6A.js +30 -0
- package/dist/chunk-6FHWDD6A.js.map +1 -0
- package/dist/chunk-7NXD7PLX.js +74 -0
- package/dist/chunk-7NXD7PLX.js.map +1 -0
- package/dist/chunk-7OTATOP5.js +145 -0
- package/dist/chunk-7OTATOP5.js.map +1 -0
- package/dist/chunk-AJUFF5UG.js +145 -0
- package/dist/chunk-AJUFF5UG.js.map +1 -0
- package/dist/chunk-BBHWHOUN.js +169 -0
- package/dist/chunk-BBHWHOUN.js.map +1 -0
- package/dist/chunk-BJ2HH4TJ.js +57 -0
- package/dist/chunk-BJ2HH4TJ.js.map +1 -0
- package/dist/chunk-BMGHLEOY.js +60 -0
- package/dist/chunk-BMGHLEOY.js.map +1 -0
- package/dist/chunk-DD5Q52TX.js +60 -0
- package/dist/chunk-DD5Q52TX.js.map +1 -0
- package/dist/chunk-EKWKP54R.js +277 -0
- package/dist/chunk-EKWKP54R.js.map +1 -0
- package/dist/chunk-G52DIMSU.js +174 -0
- package/dist/chunk-G52DIMSU.js.map +1 -0
- package/dist/chunk-GQB7I5LL.js +165 -0
- package/dist/chunk-GQB7I5LL.js.map +1 -0
- package/dist/chunk-GV7DKSKW.js +165 -0
- package/dist/chunk-GV7DKSKW.js.map +1 -0
- package/dist/chunk-HD6D7CNN.js +95 -0
- package/dist/chunk-HD6D7CNN.js.map +1 -0
- package/dist/chunk-HEGXU6RO.js +277 -0
- package/dist/chunk-HEGXU6RO.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-IYQDNQVM.js +60 -0
- package/dist/chunk-IYQDNQVM.js.map +1 -0
- package/dist/chunk-JE7ILO63.js +62 -0
- package/dist/chunk-JE7ILO63.js.map +1 -0
- package/dist/chunk-JYJA2PMG.js +51 -0
- package/dist/chunk-JYJA2PMG.js.map +1 -0
- package/dist/chunk-KAMSTRSW.js +145 -0
- package/dist/chunk-KAMSTRSW.js.map +1 -0
- package/dist/chunk-MD2DWARX.js +64 -0
- package/dist/chunk-MD2DWARX.js.map +1 -0
- package/dist/chunk-NE7UF6BI.js +169 -0
- package/dist/chunk-NE7UF6BI.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-NTBVSA6A.js +192 -0
- package/dist/chunk-NTBVSA6A.js.map +1 -0
- package/dist/chunk-OD6EJ426.js +62 -0
- package/dist/chunk-OD6EJ426.js.map +1 -0
- package/dist/chunk-PEBU5ITQ.js +169 -0
- package/dist/chunk-PEBU5ITQ.js.map +1 -0
- package/dist/chunk-PEWHIHRL.js +350 -0
- package/dist/chunk-PEWHIHRL.js.map +1 -0
- package/dist/chunk-PGGGKYWG.js +1 -0
- package/dist/chunk-PGGGKYWG.js.map +1 -0
- package/dist/chunk-PVRQAIQX.js +174 -0
- package/dist/chunk-PVRQAIQX.js.map +1 -0
- package/dist/chunk-QLYEPYGM.js +101 -0
- package/dist/chunk-QLYEPYGM.js.map +1 -0
- package/dist/chunk-RAUCQTT3.js +57 -0
- package/dist/chunk-RAUCQTT3.js.map +1 -0
- package/dist/chunk-RZICGWT6.js +95 -0
- package/dist/chunk-RZICGWT6.js.map +1 -0
- package/dist/chunk-S4FV6W2P.js +192 -0
- package/dist/chunk-S4FV6W2P.js.map +1 -0
- package/dist/chunk-TFJ2O2QQ.js +350 -0
- package/dist/chunk-TFJ2O2QQ.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-UFKIOCFB.js +30 -0
- package/dist/chunk-UFKIOCFB.js.map +1 -0
- package/dist/chunk-UFYNSPJQ.js +50 -0
- package/dist/chunk-UFYNSPJQ.js.map +1 -0
- package/dist/chunk-UO4RGP6A.js +128 -0
- package/dist/chunk-UO4RGP6A.js.map +1 -0
- package/dist/chunk-V5EAAF36.js +30 -0
- package/dist/chunk-V5EAAF36.js.map +1 -0
- package/dist/chunk-VQSICZAF.js +277 -0
- package/dist/chunk-VQSICZAF.js.map +1 -0
- package/dist/chunk-VWVFUMDN.js +30 -0
- package/dist/chunk-VWVFUMDN.js.map +1 -0
- package/dist/chunk-WVWV7RR3.js +128 -0
- package/dist/chunk-WVWV7RR3.js.map +1 -0
- package/dist/chunk-XOULHXRV.js +145 -0
- package/dist/chunk-XOULHXRV.js.map +1 -0
- package/dist/chunk-YI73NE3Q.js +165 -0
- package/dist/chunk-YI73NE3Q.js.map +1 -0
- package/dist/chunk-ZUQARZ2L.js +74 -0
- package/dist/chunk-ZUQARZ2L.js.map +1 -0
- package/dist/icon.cjs +143 -0
- package/dist/icon.cjs.map +1 -1
- package/dist/icon.d.cts +5 -2
- package/dist/icon.d.ts +5 -2
- package/dist/icon.js +14 -1
- package/dist/icons/index.cjs +171 -0
- package/dist/icons/index.cjs.map +1 -0
- package/dist/icons/index.d.cts +6 -0
- package/dist/icons/index.d.ts +6 -0
- package/dist/icons/index.js +17 -0
- package/dist/icons/index.js.map +1 -0
- package/dist/icons/phone-ring.cjs +107 -0
- package/dist/icons/phone-ring.cjs.map +1 -0
- package/dist/icons/phone-ring.d.cts +6 -0
- package/dist/icons/phone-ring.d.ts +6 -0
- package/dist/icons/phone-ring.js +8 -0
- package/dist/icons/phone-ring.js.map +1 -0
- package/dist/index.cjs +565 -475
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +2000 -1996
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +124 -113
- package/dist/molecules/date-picker/date-picker-button.cjs +156 -45
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.js +32 -28
- package/dist/molecules/date-picker/index.cjs +110 -12
- package/dist/molecules/date-picker/index.cjs.map +1 -1
- package/dist/molecules/date-picker/index.js +6 -2
- package/dist/molecules/expand-table/index.cjs +172 -119
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +31 -29
- package/dist/molecules/expand-table/row.cjs +148 -37
- package/dist/molecules/expand-table/row.cjs.map +1 -1
- package/dist/molecules/expand-table/row.js +30 -26
- package/dist/molecules/form/form.d.cts +1 -1
- package/dist/molecules/form/form.d.ts +1 -1
- package/dist/molecules/index.cjs +289 -236
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +43 -41
- package/dist/molecules/learning-post.js +2 -2
- package/dist/molecules/navigation.cjs +148 -37
- package/dist/molecules/navigation.cjs.map +1 -1
- package/dist/molecules/navigation.js +30 -26
- package/dist/molecules/radio-button-card.cjs +146 -35
- package/dist/molecules/radio-button-card.cjs.map +1 -1
- package/dist/molecules/radio-button-card.js +30 -26
- package/dist/molecules/stepper.cjs +145 -24
- package/dist/molecules/stepper.cjs.map +1 -1
- package/dist/molecules/stepper.js +7 -3
- package/dist/molecules/tag-selector.cjs +188 -77
- package/dist/molecules/tag-selector.cjs.map +1 -1
- package/dist/molecules/tag-selector.js +31 -27
- package/dist/molecules/time-select.cjs +147 -36
- package/dist/molecules/time-select.cjs.map +1 -1
- package/dist/molecules/time-select.js +31 -27
- package/dist/utils/index.js +5 -5
- 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/src/atoms/avatar.tsx +25 -6
- package/src/icon.ts +2 -0
- package/src/icons/index.ts +3 -0
- package/src/icons/phone-ring.tsx +31 -0
package/dist/app/index.cjs
CHANGED
|
@@ -90,8 +90,8 @@ var import_jsx_runtime = require("react/jsx-runtime");
|
|
|
90
90
|
var Avatar = (0, import_react.forwardRef)(
|
|
91
91
|
(props, ref) => {
|
|
92
92
|
const _a = props, { children, size, variant = "soft" } = _a, rest = __objRest(_a, ["children", "size", "variant"]);
|
|
93
|
-
const
|
|
94
|
-
switch (
|
|
93
|
+
const getOriginalSize = (0, import_react.useCallback)((value) => {
|
|
94
|
+
switch (value) {
|
|
95
95
|
case "small":
|
|
96
96
|
return "1";
|
|
97
97
|
case "medium":
|
|
@@ -101,9 +101,22 @@ var Avatar = (0, import_react.forwardRef)(
|
|
|
101
101
|
case "full":
|
|
102
102
|
return "4";
|
|
103
103
|
default:
|
|
104
|
-
return
|
|
104
|
+
return "3";
|
|
105
105
|
}
|
|
106
|
-
}, [
|
|
106
|
+
}, []);
|
|
107
|
+
const radixSize = (0, import_react.useMemo)(() => {
|
|
108
|
+
if (typeof size === "string") {
|
|
109
|
+
return getOriginalSize(size);
|
|
110
|
+
}
|
|
111
|
+
if (typeof size === "object") {
|
|
112
|
+
const map = {};
|
|
113
|
+
let key;
|
|
114
|
+
for (key in size) {
|
|
115
|
+
map[key] = size[key] && getOriginalSize(size[key]);
|
|
116
|
+
}
|
|
117
|
+
return map;
|
|
118
|
+
}
|
|
119
|
+
}, [getOriginalSize, size]);
|
|
107
120
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes3.Avatar, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, variant, children }));
|
|
108
121
|
}
|
|
109
122
|
);
|
|
@@ -718,15 +731,113 @@ var import_react15 = require("react");
|
|
|
718
731
|
// src/icon.ts
|
|
719
732
|
var import_react_icons3 = require("@radix-ui/react-icons");
|
|
720
733
|
|
|
721
|
-
// src/
|
|
734
|
+
// src/icons/phone-ring.tsx
|
|
735
|
+
var React5 = __toESM(require("react"), 1);
|
|
722
736
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
737
|
+
var PhoneRingIcon = React5.forwardRef(
|
|
738
|
+
(_a, forwardedRef) => {
|
|
739
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
740
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
741
|
+
"svg",
|
|
742
|
+
__spreadProps(__spreadValues({
|
|
743
|
+
fill: "none",
|
|
744
|
+
height: "16",
|
|
745
|
+
viewBox: "0 0 16 16",
|
|
746
|
+
width: "16",
|
|
747
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
748
|
+
}, props), {
|
|
749
|
+
ref: forwardedRef,
|
|
750
|
+
children: [
|
|
751
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
752
|
+
"path",
|
|
753
|
+
{
|
|
754
|
+
d: "M7.7207 8.94603C6.98877 8.2141 6.41082 7.3865 5.98686 6.50348C5.95039 6.42753 5.93216 6.38955 5.91815 6.34149C5.86837 6.17072 5.90413 5.96102 6.00769 5.81639C6.03683 5.77569 6.07165 5.74087 6.14128 5.67124C6.35424 5.45828 6.46072 5.3518 6.53033 5.24473C6.79287 4.84094 6.79287 4.32038 6.53033 3.91658C6.46072 3.80951 6.35424 3.70303 6.14128 3.49007L6.02257 3.37137C5.69885 3.04764 5.53699 2.88578 5.36315 2.79786C5.01743 2.62299 4.60914 2.62299 4.26342 2.79786C4.08958 2.88578 3.92772 3.04764 3.604 3.37137L3.50798 3.46739C3.18536 3.79 3.02405 3.95131 2.90086 4.17062C2.76415 4.41398 2.66586 4.79194 2.66669 5.07106C2.66744 5.32261 2.71624 5.49452 2.81382 5.83835C3.33828 7.68611 4.32781 9.42969 5.78242 10.8843C7.23704 12.3389 8.98062 13.3285 10.8284 13.8529C11.1722 13.9505 11.3441 13.9993 11.5957 14C11.8748 14.0009 12.2528 13.9026 12.4961 13.7659C12.7154 13.6427 12.8767 13.4814 13.1993 13.1588L13.2954 13.0627C13.6191 12.739 13.7809 12.5771 13.8689 12.4033C14.0437 12.0576 14.0437 11.6493 13.8689 11.3036C13.7809 11.1297 13.6191 10.9679 13.2954 10.6442L13.1767 10.5255C12.9637 10.3125 12.8572 10.206 12.7501 10.1364C12.3464 9.87386 11.8258 9.87386 11.422 10.1364C11.3149 10.206 11.2084 10.3125 10.9955 10.5255C10.9259 10.5951 10.891 10.6299 10.8503 10.659C10.7057 10.7626 10.496 10.7984 10.3252 10.7486C10.2772 10.7346 10.2392 10.7163 10.1632 10.6799C9.28023 10.2559 8.45262 9.67796 7.7207 8.94603Z",
|
|
755
|
+
fill: color
|
|
756
|
+
}
|
|
757
|
+
),
|
|
758
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
759
|
+
"path",
|
|
760
|
+
{
|
|
761
|
+
d: "M9.33335 4.22765C10.4699 4.62936 11.3707 5.53016 11.7724 6.66671M9.97701 2.33337C11.7004 2.93456 13.0655 4.2997 13.6667 6.02305M7.7207 8.94603C6.98877 8.2141 6.41082 7.3865 5.98686 6.50348C5.95039 6.42753 5.93216 6.38955 5.91815 6.34149C5.86837 6.17072 5.90413 5.96102 6.00769 5.81639C6.03683 5.77569 6.07165 5.74087 6.14128 5.67124C6.35424 5.45828 6.46072 5.3518 6.53033 5.24473C6.79287 4.84094 6.79287 4.32038 6.53033 3.91658C6.46072 3.80951 6.35424 3.70303 6.14128 3.49007L6.02257 3.37137C5.69885 3.04764 5.53699 2.88578 5.36315 2.79786C5.01743 2.62299 4.60914 2.62299 4.26342 2.79786C4.08958 2.88578 3.92772 3.04764 3.604 3.37137L3.50798 3.46739C3.18536 3.79 3.02405 3.95131 2.90086 4.17062C2.76415 4.41398 2.66586 4.79194 2.66669 5.07106C2.66744 5.32261 2.71624 5.49452 2.81382 5.83835C3.33828 7.68611 4.32781 9.42969 5.78242 10.8843C7.23704 12.3389 8.98062 13.3285 10.8284 13.8529C11.1722 13.9505 11.3441 13.9993 11.5957 14C11.8748 14.0009 12.2528 13.9026 12.4961 13.7659C12.7154 13.6427 12.8767 13.4814 13.1993 13.1588L13.2954 13.0627C13.6191 12.739 13.7809 12.5771 13.8689 12.4033C14.0437 12.0576 14.0437 11.6493 13.8689 11.3036C13.7809 11.1297 13.6191 10.9679 13.2954 10.6442L13.1767 10.5255C12.9637 10.3125 12.8572 10.206 12.7501 10.1364C12.3464 9.87386 11.8258 9.87386 11.422 10.1364C11.3149 10.206 11.2084 10.3125 10.9955 10.5255C10.9259 10.5951 10.891 10.6299 10.8503 10.659C10.7057 10.7626 10.496 10.7984 10.3252 10.7486C10.2772 10.7346 10.2392 10.7163 10.1632 10.6799C9.28023 10.2559 8.45262 9.67796 7.7207 8.94603Z",
|
|
762
|
+
stroke: color,
|
|
763
|
+
strokeLinecap: "round",
|
|
764
|
+
strokeWidth: "1.5"
|
|
765
|
+
}
|
|
766
|
+
)
|
|
767
|
+
]
|
|
768
|
+
})
|
|
769
|
+
);
|
|
770
|
+
}
|
|
771
|
+
);
|
|
772
|
+
PhoneRingIcon.displayName = "ArrowUpIcon";
|
|
723
773
|
|
|
724
|
-
// src/
|
|
774
|
+
// src/icons/up.tsx
|
|
775
|
+
var React6 = __toESM(require("react"), 1);
|
|
725
776
|
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
777
|
+
var TriangleArrowUpIcon = React6.forwardRef(
|
|
778
|
+
(_a, forwardedRef) => {
|
|
779
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
780
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
781
|
+
"svg",
|
|
782
|
+
__spreadProps(__spreadValues({
|
|
783
|
+
fill: "none",
|
|
784
|
+
height: "7",
|
|
785
|
+
viewBox: "0 0 8 7",
|
|
786
|
+
width: "8",
|
|
787
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
788
|
+
}, props), {
|
|
789
|
+
ref: forwardedRef,
|
|
790
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
791
|
+
"path",
|
|
792
|
+
{
|
|
793
|
+
d: "M0.891555 6.1875L7.10845 6.1875C7.80261 6.1875 8.1771 5.37328 7.72534 4.84623L4.6169 1.21971C4.29263 0.841403 3.70737 0.841403 3.3831 1.21971L0.274659 4.84623C-0.177095 5.37328 0.197393 6.1875 0.891555 6.1875Z",
|
|
794
|
+
fill: color
|
|
795
|
+
}
|
|
796
|
+
)
|
|
797
|
+
})
|
|
798
|
+
);
|
|
799
|
+
}
|
|
800
|
+
);
|
|
801
|
+
TriangleArrowUpIcon.displayName = "ArrowUpIcon";
|
|
802
|
+
|
|
803
|
+
// src/icons/down.tsx
|
|
804
|
+
var React7 = __toESM(require("react"), 1);
|
|
805
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
806
|
+
var TriangleArrowDownIcon = React7.forwardRef(
|
|
807
|
+
(_a, forwardedRef) => {
|
|
808
|
+
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
809
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
810
|
+
"svg",
|
|
811
|
+
__spreadProps(__spreadValues({
|
|
812
|
+
fill: "none",
|
|
813
|
+
height: "7",
|
|
814
|
+
viewBox: "0 0 8 7",
|
|
815
|
+
width: "8",
|
|
816
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
817
|
+
}, props), {
|
|
818
|
+
ref: forwardedRef,
|
|
819
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
820
|
+
"path",
|
|
821
|
+
{
|
|
822
|
+
d: "M7.10844 0.8125H0.891554C0.197392 0.8125 -0.177096 1.62672 0.274659 2.15377L3.3831 5.78029C3.70737 6.1586 4.29263 6.1586 4.6169 5.78029L7.72534 2.15377C8.1771 1.62672 7.80261 0.8125 7.10844 0.8125Z",
|
|
823
|
+
fill: color
|
|
824
|
+
}
|
|
825
|
+
)
|
|
826
|
+
})
|
|
827
|
+
);
|
|
828
|
+
}
|
|
829
|
+
);
|
|
830
|
+
TriangleArrowDownIcon.displayName = "ArrowDownIcon";
|
|
831
|
+
|
|
832
|
+
// src/atoms/pagination.tsx
|
|
833
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
834
|
+
|
|
835
|
+
// src/atoms/field-error-wrapper.tsx
|
|
836
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
726
837
|
|
|
727
838
|
// src/atoms/ellipsis-tooltip.tsx
|
|
728
839
|
var import_react16 = require("react");
|
|
729
|
-
var
|
|
840
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
730
841
|
|
|
731
842
|
// src/atoms/drawer.tsx
|
|
732
843
|
var import_react17 = require("react");
|
|
@@ -734,12 +845,12 @@ var Dialog2 = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
|
734
845
|
var import_themes50 = require("@radix-ui/themes");
|
|
735
846
|
|
|
736
847
|
// src/icons/close-panel-arrow.tsx
|
|
737
|
-
var
|
|
738
|
-
var
|
|
739
|
-
var ClosePanelArrowIcon =
|
|
848
|
+
var React10 = __toESM(require("react"), 1);
|
|
849
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
850
|
+
var ClosePanelArrowIcon = React10.forwardRef(
|
|
740
851
|
(_a, forwardedRef) => {
|
|
741
852
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
742
|
-
return /* @__PURE__ */ (0,
|
|
853
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
743
854
|
"svg",
|
|
744
855
|
__spreadProps(__spreadValues({
|
|
745
856
|
fill: "none",
|
|
@@ -750,7 +861,7 @@ var ClosePanelArrowIcon = React7.forwardRef(
|
|
|
750
861
|
}, props), {
|
|
751
862
|
ref: forwardedRef,
|
|
752
863
|
children: [
|
|
753
|
-
/* @__PURE__ */ (0,
|
|
864
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
754
865
|
"path",
|
|
755
866
|
{
|
|
756
867
|
clipRule: "evenodd",
|
|
@@ -759,7 +870,7 @@ var ClosePanelArrowIcon = React7.forwardRef(
|
|
|
759
870
|
fillRule: "evenodd"
|
|
760
871
|
}
|
|
761
872
|
),
|
|
762
|
-
/* @__PURE__ */ (0,
|
|
873
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
763
874
|
"path",
|
|
764
875
|
{
|
|
765
876
|
clipRule: "evenodd",
|
|
@@ -776,16 +887,16 @@ var ClosePanelArrowIcon = React7.forwardRef(
|
|
|
776
887
|
ClosePanelArrowIcon.displayName = "ArrowDownIcon";
|
|
777
888
|
|
|
778
889
|
// src/atoms/drawer.tsx
|
|
779
|
-
var
|
|
890
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
780
891
|
|
|
781
892
|
// src/molecules/form/form.tsx
|
|
782
893
|
var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
|
|
783
894
|
var import_react18 = require("react");
|
|
784
|
-
var
|
|
895
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
785
896
|
var Root7 = (0, import_react18.forwardRef)(
|
|
786
897
|
(_a, ref) => {
|
|
787
898
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
788
|
-
return /* @__PURE__ */ (0,
|
|
899
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
789
900
|
RadixForm.Root,
|
|
790
901
|
__spreadProps(__spreadValues({}, rest), {
|
|
791
902
|
className: `FormRoot ${className || ""}`,
|
|
@@ -802,22 +913,22 @@ var FieldContext = (0, import_react18.createContext)({
|
|
|
802
913
|
var Field2 = (0, import_react18.forwardRef)(
|
|
803
914
|
(_a, ref) => {
|
|
804
915
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
805
|
-
return /* @__PURE__ */ (0,
|
|
916
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
806
917
|
RadixForm.Field,
|
|
807
918
|
__spreadProps(__spreadValues({}, rest), {
|
|
808
919
|
className: `FormField ${className || ""}`,
|
|
809
920
|
ref,
|
|
810
|
-
children: /* @__PURE__ */ (0,
|
|
921
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(FieldContext.Provider, { value: rest, children })
|
|
811
922
|
})
|
|
812
923
|
);
|
|
813
924
|
}
|
|
814
925
|
);
|
|
815
926
|
Field2.displayName = "FORM_FIELD";
|
|
816
927
|
function HeadingLabel(props) {
|
|
817
|
-
return /* @__PURE__ */ (0,
|
|
928
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Heading2, __spreadProps(__spreadValues({ variant: "heading5" }, props), { children: props.children }));
|
|
818
929
|
}
|
|
819
930
|
function CaptionLabel(props) {
|
|
820
|
-
return /* @__PURE__ */ (0,
|
|
931
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, __spreadProps(__spreadValues({ color: "gray", variant: "caption" }, props), { children: props.children }));
|
|
821
932
|
}
|
|
822
933
|
var Label2 = (0, import_react18.forwardRef)(
|
|
823
934
|
(_a, ref) => {
|
|
@@ -834,15 +945,15 @@ var Label2 = (0, import_react18.forwardRef)(
|
|
|
834
945
|
}
|
|
835
946
|
}, [variant]);
|
|
836
947
|
const fieldProps = (0, import_react18.useContext)(FieldContext);
|
|
837
|
-
return /* @__PURE__ */ (0,
|
|
948
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
838
949
|
RadixForm.Label,
|
|
839
950
|
__spreadProps(__spreadValues({}, rest), {
|
|
840
951
|
asChild: true,
|
|
841
952
|
className: `FormLabel ${className || ""}`,
|
|
842
953
|
ref,
|
|
843
|
-
children: /* @__PURE__ */ (0,
|
|
954
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Comp, { children: [
|
|
844
955
|
children,
|
|
845
|
-
fieldProps.required ? /* @__PURE__ */ (0,
|
|
956
|
+
fieldProps.required ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { as: "span", color: "tomato", children: ` *` }) : null
|
|
846
957
|
] })
|
|
847
958
|
})
|
|
848
959
|
);
|
|
@@ -852,13 +963,13 @@ Label2.displayName = "FORM_Label";
|
|
|
852
963
|
var Message2 = (0, import_react18.forwardRef)(
|
|
853
964
|
(_a, ref) => {
|
|
854
965
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
855
|
-
return /* @__PURE__ */ (0,
|
|
966
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
856
967
|
RadixForm.Message,
|
|
857
968
|
__spreadProps(__spreadValues({}, rest), {
|
|
858
969
|
asChild: true,
|
|
859
970
|
className: `FormMessage ${className || ""}`,
|
|
860
971
|
ref,
|
|
861
|
-
children: /* @__PURE__ */ (0,
|
|
972
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typo, { color: "red", children })
|
|
862
973
|
})
|
|
863
974
|
);
|
|
864
975
|
}
|
|
@@ -868,7 +979,7 @@ var Control2 = (0, import_react18.forwardRef)(
|
|
|
868
979
|
(_a, ref) => {
|
|
869
980
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
|
870
981
|
const fieldProps = (0, import_react18.useContext)(FieldContext);
|
|
871
|
-
return /* @__PURE__ */ (0,
|
|
982
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
872
983
|
RadixForm.Control,
|
|
873
984
|
__spreadProps(__spreadValues({}, rest), {
|
|
874
985
|
className: `FormControl ${className || ""}`,
|
|
@@ -891,10 +1002,10 @@ function FormItem(_a) {
|
|
|
891
1002
|
"children",
|
|
892
1003
|
"errorMessage"
|
|
893
1004
|
]);
|
|
894
|
-
return /* @__PURE__ */ (0,
|
|
895
|
-
/* @__PURE__ */ (0,
|
|
1005
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Form.Field, __spreadProps(__spreadValues({}, fieldProps), { children: [
|
|
1006
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Form.Label, { variant: labelVariant, children: label }),
|
|
896
1007
|
children,
|
|
897
|
-
/* @__PURE__ */ (0,
|
|
1008
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Form.Message, { forceMatch: Boolean(errorMessage), children: errorMessage })
|
|
898
1009
|
] }));
|
|
899
1010
|
}
|
|
900
1011
|
var Form = {
|
|
@@ -909,7 +1020,7 @@ var Form = {
|
|
|
909
1020
|
|
|
910
1021
|
// src/atoms/auto-sizing-input.tsx
|
|
911
1022
|
var import_react19 = require("react");
|
|
912
|
-
var
|
|
1023
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
913
1024
|
var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
914
1025
|
(_a, ref) => {
|
|
915
1026
|
var _b = _a, { value: _value, onChangeValue, onChange } = _b, rest = __objRest(_b, ["value", "onChangeValue", "onChange"]);
|
|
@@ -932,46 +1043,46 @@ var AutoSizingInput = (0, import_react19.forwardRef)(
|
|
|
932
1043
|
(0, import_react19.useEffect)(() => {
|
|
933
1044
|
onChangeValue == null ? void 0 : onChangeValue(value || "");
|
|
934
1045
|
}, [value, onChangeValue]);
|
|
935
|
-
return /* @__PURE__ */ (0,
|
|
936
|
-
/* @__PURE__ */ (0,
|
|
937
|
-
/* @__PURE__ */ (0,
|
|
1046
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "auto-sizing-input wrapper", style: { width: width + 24 }, children: [
|
|
1047
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("input", __spreadValues({ onChange: changeHandler, ref, value }, rest)),
|
|
1048
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { "aria-hidden": "true", ref: span, children: value })
|
|
938
1049
|
] });
|
|
939
1050
|
}
|
|
940
1051
|
);
|
|
941
1052
|
AutoSizingInput.displayName = "AutoSizingInput";
|
|
942
1053
|
|
|
943
1054
|
// src/atoms/bullet-text.tsx
|
|
944
|
-
var
|
|
1055
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
945
1056
|
function BulletText(_a) {
|
|
946
1057
|
var _b = _a, {
|
|
947
1058
|
children
|
|
948
1059
|
} = _b, rest = __objRest(_b, [
|
|
949
1060
|
"children"
|
|
950
1061
|
]);
|
|
951
|
-
return /* @__PURE__ */ (0,
|
|
952
|
-
/* @__PURE__ */ (0,
|
|
953
|
-
/* @__PURE__ */ (0,
|
|
1062
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_themes22.Flex, { gap: "1", ml: "2", children: [
|
|
1063
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children: "\u2022" })),
|
|
1064
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Typo, __spreadProps(__spreadValues({}, rest), { children }))
|
|
954
1065
|
] });
|
|
955
1066
|
}
|
|
956
1067
|
|
|
957
1068
|
// src/app/platform/userInfos/coaching-customer-info/small.tsx
|
|
958
|
-
var
|
|
1069
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
959
1070
|
function CoachingCustomerInfoSmall({
|
|
960
1071
|
customer,
|
|
961
1072
|
children,
|
|
962
1073
|
badge
|
|
963
1074
|
}) {
|
|
964
|
-
return /* @__PURE__ */ (0,
|
|
1075
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
965
1076
|
import_themes22.Flex,
|
|
966
1077
|
{
|
|
967
1078
|
direction: { initial: "column", xs: "row" },
|
|
968
1079
|
gap: "3",
|
|
969
1080
|
justify: "between",
|
|
970
1081
|
children: [
|
|
971
|
-
/* @__PURE__ */ (0,
|
|
972
|
-
/* @__PURE__ */ (0,
|
|
973
|
-
/* @__PURE__ */ (0,
|
|
974
|
-
/* @__PURE__ */ (0,
|
|
1082
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_themes23.Grid, { align: "center", columns: "auto auto 1fr", gapX: "3", children: [
|
|
1083
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Heading2, { variant: "heading3", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
1084
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Typo, { color: "gray", truncate: true, variant: "body", children: customer == null ? void 0 : customer.company }),
|
|
1085
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_themes6.Box, { style: { justifySelf: "end" }, children: badge })
|
|
975
1086
|
] }) }),
|
|
976
1087
|
children
|
|
977
1088
|
]
|
|
@@ -982,7 +1093,7 @@ function CoachingCustomerInfoSmall({
|
|
|
982
1093
|
// src/app/platform/userInfos/utils.tsx
|
|
983
1094
|
var import_date_fns = require("date-fns");
|
|
984
1095
|
var import_react_icons4 = require("@radix-ui/react-icons");
|
|
985
|
-
var
|
|
1096
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
986
1097
|
var infoList = [
|
|
987
1098
|
{ label: "\uC774\uB984", getValue: (customer) => customer == null ? void 0 : customer.username },
|
|
988
1099
|
{ label: "\uC131\uBCC4", getValue: (customer) => customer == null ? void 0 : customer.gender },
|
|
@@ -1035,100 +1146,126 @@ var sessionList = [
|
|
|
1035
1146
|
getValue: (session) => (session == null ? void 0 : session.expiredAt) ? (0, import_date_fns.format)(session.expiredAt, "yyyy\uB144 MM\uC6D4 dd\uC77C") : "-"
|
|
1036
1147
|
}
|
|
1037
1148
|
];
|
|
1038
|
-
var renderItem = (
|
|
1149
|
+
var renderItem = (args) => {
|
|
1150
|
+
const { info, data, onClickCopy } = args;
|
|
1039
1151
|
const value = info.getValue(data);
|
|
1040
|
-
return /* @__PURE__ */ (0,
|
|
1152
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_jsx_runtime29.Fragment, { children: [
|
|
1041
1153
|
info.render ? info.render(value) : value || "-",
|
|
1042
|
-
info.copyable && value ? /* @__PURE__ */ (0,
|
|
1154
|
+
info.copyable && value ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(CopyButton, { onClickCopy, value }) : null
|
|
1043
1155
|
] });
|
|
1044
1156
|
};
|
|
1045
|
-
var renderDataListItem = (
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
/* @__PURE__ */ (0,
|
|
1157
|
+
var renderDataListItem = (args) => {
|
|
1158
|
+
const { info, data, onClickCopy } = args;
|
|
1159
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_themes15.DataList.Item, { children: [
|
|
1160
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_themes15.DataList.Label, { children: info.label }),
|
|
1161
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_themes15.DataList.Value, { children: renderItem({ info, data, onClickCopy }) })
|
|
1049
1162
|
] }, info.label);
|
|
1050
1163
|
};
|
|
1051
1164
|
function CopyButton(props) {
|
|
1052
|
-
|
|
1165
|
+
const { value, onClickCopy } = props;
|
|
1166
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1053
1167
|
Button,
|
|
1054
1168
|
{
|
|
1055
1169
|
color: "gray",
|
|
1056
1170
|
onClick: () => {
|
|
1057
|
-
|
|
1058
|
-
import_react_toastify2.toast.success("\uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
|
|
1171
|
+
onClickCopy(value);
|
|
1059
1172
|
},
|
|
1060
1173
|
style: { marginLeft: "0", marginTop: "0" },
|
|
1061
1174
|
variant: "transparent",
|
|
1062
|
-
children: /* @__PURE__ */ (0,
|
|
1175
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react_icons4.CopyIcon, {})
|
|
1063
1176
|
}
|
|
1064
1177
|
);
|
|
1065
1178
|
}
|
|
1066
1179
|
|
|
1067
1180
|
// src/app/platform/userInfos/coaching-customer-info/medium.tsx
|
|
1068
|
-
var
|
|
1181
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
1069
1182
|
function CoachingCustomerInfoMedium({
|
|
1070
1183
|
customer,
|
|
1071
1184
|
session,
|
|
1072
1185
|
children,
|
|
1073
|
-
badge
|
|
1186
|
+
badge,
|
|
1187
|
+
onClickCopy
|
|
1074
1188
|
}) {
|
|
1075
|
-
return /* @__PURE__ */ (0,
|
|
1076
|
-
/* @__PURE__ */ (0,
|
|
1077
|
-
/* @__PURE__ */ (0,
|
|
1078
|
-
/* @__PURE__ */ (0,
|
|
1189
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1190
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes6.Box, { children: [
|
|
1191
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
1192
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
1079
1193
|
badge
|
|
1080
1194
|
] }),
|
|
1081
|
-
/* @__PURE__ */ (0,
|
|
1195
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
1082
1196
|
] }),
|
|
1083
1197
|
children,
|
|
1084
|
-
/* @__PURE__ */ (0,
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1198
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_themes15.DataList.Root, { orientation: "vertical", children: sessionList.map(
|
|
1199
|
+
(el) => renderDataListItem({
|
|
1200
|
+
info: el,
|
|
1201
|
+
data: session,
|
|
1202
|
+
onClickCopy
|
|
1203
|
+
})
|
|
1204
|
+
) }) }),
|
|
1205
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", children: [
|
|
1206
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Heading2, { variant: "heading5", children: "\uACE0\uAC1D \uC815\uBCF4" }),
|
|
1207
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_themes39.Separator, { size: "4" })
|
|
1088
1208
|
] }),
|
|
1089
|
-
/* @__PURE__ */ (0,
|
|
1090
|
-
return /* @__PURE__ */ (0,
|
|
1209
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_themes22.Flex, { direction: "column", gap: "4", children: infoList.map((el) => {
|
|
1210
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Typo, { children: renderItem({
|
|
1211
|
+
info: el,
|
|
1212
|
+
data: customer,
|
|
1213
|
+
onClickCopy
|
|
1214
|
+
}) }, el.label);
|
|
1091
1215
|
}) })
|
|
1092
1216
|
] });
|
|
1093
1217
|
}
|
|
1094
1218
|
|
|
1095
1219
|
// src/app/platform/userInfos/coaching-customer-info/large.tsx
|
|
1096
|
-
var
|
|
1220
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1097
1221
|
function CoachingCustomerInfoLarge({
|
|
1098
1222
|
customer,
|
|
1099
1223
|
session,
|
|
1100
1224
|
children,
|
|
1101
|
-
badge
|
|
1225
|
+
badge,
|
|
1226
|
+
onClickCopy
|
|
1102
1227
|
}) {
|
|
1103
|
-
return /* @__PURE__ */ (0,
|
|
1104
|
-
/* @__PURE__ */ (0,
|
|
1105
|
-
/* @__PURE__ */ (0,
|
|
1106
|
-
/* @__PURE__ */ (0,
|
|
1228
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1229
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_themes6.Box, { children: [
|
|
1230
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_themes22.Flex, { align: "center", justify: "between", mb: "1", width: "100%", children: [
|
|
1231
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Heading2, { variant: "heading2", children: (customer == null ? void 0 : customer.username) || "\uC774\uB984 \uC5C6\uC74C" }),
|
|
1107
1232
|
badge
|
|
1108
1233
|
] }),
|
|
1109
|
-
/* @__PURE__ */ (0,
|
|
1234
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Heading2, { truncate: true, variant: "heading4", weight: "regular", children: customer == null ? void 0 : customer.company })
|
|
1110
1235
|
] }),
|
|
1111
1236
|
children,
|
|
1112
|
-
/* @__PURE__ */ (0,
|
|
1113
|
-
|
|
1114
|
-
|
|
1237
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Card, { size: "2", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
1238
|
+
(el) => renderDataListItem({
|
|
1239
|
+
info: el,
|
|
1240
|
+
data: session,
|
|
1241
|
+
onClickCopy
|
|
1242
|
+
})
|
|
1243
|
+
) }) }),
|
|
1244
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_themes39.Separator, { size: "4" }),
|
|
1245
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
1246
|
+
(info) => renderDataListItem({
|
|
1247
|
+
info,
|
|
1248
|
+
data: customer,
|
|
1249
|
+
onClickCopy
|
|
1250
|
+
})
|
|
1251
|
+
) })
|
|
1115
1252
|
] });
|
|
1116
1253
|
}
|
|
1117
1254
|
|
|
1118
1255
|
// src/app/platform/userInfos/coaching-customer-info/index.tsx
|
|
1119
|
-
var
|
|
1256
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1120
1257
|
function CoachingCustomerInfo(props) {
|
|
1121
|
-
return /* @__PURE__ */ (0,
|
|
1122
|
-
/* @__PURE__ */ (0,
|
|
1123
|
-
/* @__PURE__ */ (0,
|
|
1124
|
-
/* @__PURE__ */ (0,
|
|
1258
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_jsx_runtime32.Fragment, { children: [
|
|
1259
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_themes6.Box, { display: { initial: "block", sm: "none", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(CoachingCustomerInfoSmall, __spreadValues({}, props)) }),
|
|
1260
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_themes6.Box, { display: { initial: "none", sm: "block", md: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(CoachingCustomerInfoMedium, __spreadValues({}, props)) }),
|
|
1261
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_themes6.Box, { display: { initial: "none", sm: "none", md: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(CoachingCustomerInfoLarge, __spreadValues({}, props)) })
|
|
1125
1262
|
] });
|
|
1126
1263
|
}
|
|
1127
1264
|
|
|
1128
1265
|
// src/app/platform/goal-manage-card-read.tsx
|
|
1129
1266
|
var import_react20 = require("react");
|
|
1130
1267
|
var import_date_fns2 = require("date-fns");
|
|
1131
|
-
var
|
|
1268
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
1132
1269
|
function GoalManageCardRead(props) {
|
|
1133
1270
|
const {
|
|
1134
1271
|
title,
|
|
@@ -1146,7 +1283,7 @@ function GoalManageCardRead(props) {
|
|
|
1146
1283
|
const onClickOpen = (0, import_react20.useCallback)(() => {
|
|
1147
1284
|
setOpen((p) => !p);
|
|
1148
1285
|
}, []);
|
|
1149
|
-
const icon = open ? /* @__PURE__ */ (0,
|
|
1286
|
+
const icon = open ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_icons3.ChevronUpIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_icons3.ChevronDownIcon, {});
|
|
1150
1287
|
const badgeMeta = (0, import_react20.useMemo)(() => {
|
|
1151
1288
|
if (!completed && dueDate) {
|
|
1152
1289
|
if (dueDate >= (0, import_date_fns2.startOfDay)(/* @__PURE__ */ new Date()))
|
|
@@ -1159,40 +1296,40 @@ function GoalManageCardRead(props) {
|
|
|
1159
1296
|
return null;
|
|
1160
1297
|
}, [completed, dueDate]);
|
|
1161
1298
|
const renderSubTitle = (0, import_react20.useCallback)((subTitle) => {
|
|
1162
|
-
return /* @__PURE__ */ (0,
|
|
1299
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Heading2, { mb: "2", variant: "heading5", children: subTitle });
|
|
1163
1300
|
}, []);
|
|
1164
1301
|
const renderSubContent = (0, import_react20.useCallback)((content) => {
|
|
1165
|
-
return /* @__PURE__ */ (0,
|
|
1302
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typo, { as: "p", color: "gray", children: content });
|
|
1166
1303
|
}, []);
|
|
1167
1304
|
const renderCompleteButton = (0, import_react20.useCallback)(() => {
|
|
1168
1305
|
if (completed) {
|
|
1169
|
-
return /* @__PURE__ */ (0,
|
|
1306
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Button, { onClick: onClickIncomplete, size: "small", variant: "surface", children: "\uC9C4\uD589\uC911\uC778 \uACFC\uC81C\uB85C \uB3CC\uB824\uB193\uAE30" });
|
|
1170
1307
|
}
|
|
1171
|
-
return /* @__PURE__ */ (0,
|
|
1172
|
-
/* @__PURE__ */ (0,
|
|
1173
|
-
/* @__PURE__ */ (0,
|
|
1308
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes29.Popover.Root, { children: [
|
|
1309
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(Button, { size: "small", children: [
|
|
1310
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_icons3.RocketIcon, {}),
|
|
1174
1311
|
"\uB2EC\uC131\uD558\uAE30"
|
|
1175
1312
|
] }) }),
|
|
1176
|
-
/* @__PURE__ */ (0,
|
|
1177
|
-
/* @__PURE__ */ (0,
|
|
1178
|
-
/* @__PURE__ */ (0,
|
|
1179
|
-
/* @__PURE__ */ (0,
|
|
1180
|
-
/* @__PURE__ */ (0,
|
|
1313
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes29.Popover.Content, { children: [
|
|
1314
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
1315
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
1316
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
1317
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Button, { onClick: onClickComplete, size: "small", children: "\uC608" }) })
|
|
1181
1318
|
] })
|
|
1182
1319
|
] })
|
|
1183
1320
|
] });
|
|
1184
1321
|
}, [completed, onClickIncomplete, onClickComplete]);
|
|
1185
|
-
return /* @__PURE__ */ (0,
|
|
1186
|
-
/* @__PURE__ */ (0,
|
|
1187
|
-
/* @__PURE__ */ (0,
|
|
1188
|
-
/* @__PURE__ */ (0,
|
|
1189
|
-
/* @__PURE__ */ (0,
|
|
1190
|
-
badgeMeta ? /* @__PURE__ */ (0,
|
|
1191
|
-
/* @__PURE__ */ (0,
|
|
1322
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gapX: "3", children: [
|
|
1323
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes18.IconButton, { onClick: onClickOpen, variant: "ghost", children: icon }),
|
|
1324
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
1325
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes22.Flex, { align: "center", gridColumnStart: "2", justify: "between", mt: "2", children: [
|
|
1326
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes22.Flex, { align: "center", gap: "3", children: [
|
|
1327
|
+
badgeMeta ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Badge, __spreadValues({}, badgeMeta)) : null,
|
|
1328
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typo, { color: "gray", children: dueDate ? (0, import_date_fns2.format)(dueDate, "yyyy\uB144 MM\uC6D4 dd\uC77C") : null })
|
|
1192
1329
|
] }),
|
|
1193
1330
|
renderCompleteButton()
|
|
1194
1331
|
] }),
|
|
1195
|
-
open ? /* @__PURE__ */ (0,
|
|
1332
|
+
open ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1196
1333
|
import_themes39.Separator,
|
|
1197
1334
|
{
|
|
1198
1335
|
mb: "4",
|
|
@@ -1201,37 +1338,37 @@ function GoalManageCardRead(props) {
|
|
|
1201
1338
|
style: { gridColumnStart: "span 2" }
|
|
1202
1339
|
}
|
|
1203
1340
|
) : null,
|
|
1204
|
-
/* @__PURE__ */ (0,
|
|
1205
|
-
/* @__PURE__ */ (0,
|
|
1206
|
-
/* @__PURE__ */ (0,
|
|
1341
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes6.Box, { gridColumnStart: "2", p: "0", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(Collapse, { open, children: [
|
|
1342
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1343
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes6.Box, { children: [
|
|
1207
1344
|
renderSubTitle(
|
|
1208
1345
|
"\uD574\uB2F9 \uBAA9\uD45C\uB97C \uB2EC\uC131\uD558\uBA74, \uC544\uB798\uC640 \uAC19\uC740 \uACB0\uACFC\uB97C \uC5BB\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4"
|
|
1209
1346
|
),
|
|
1210
1347
|
renderSubContent(expectedEffect)
|
|
1211
1348
|
] }),
|
|
1212
|
-
/* @__PURE__ */ (0,
|
|
1349
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes6.Box, { children: [
|
|
1213
1350
|
renderSubTitle(
|
|
1214
1351
|
"\uBAA9\uD45C\uB97C \uC774\uB8E8\uAE30\uAE4C\uC9C0 \uBC29\uD574\uAC00 \uB420 \uC218 \uC788\uB294 \uC694\uC18C\uB4E4\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4"
|
|
1215
1352
|
),
|
|
1216
1353
|
renderSubContent(huddle)
|
|
1217
1354
|
] })
|
|
1218
1355
|
] }),
|
|
1219
|
-
/* @__PURE__ */ (0,
|
|
1220
|
-
/* @__PURE__ */ (0,
|
|
1221
|
-
/* @__PURE__ */ (0,
|
|
1222
|
-
/* @__PURE__ */ (0,
|
|
1356
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", mt: "3", children: [
|
|
1357
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes29.Popover.Root, { children: [
|
|
1358
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(Button, { color: "gray", size: "small", variant: "ghost", children: [
|
|
1359
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_icons3.TrashIcon, {}),
|
|
1223
1360
|
"\uC0AD\uC81C\uD558\uAE30"
|
|
1224
1361
|
] }) }),
|
|
1225
|
-
/* @__PURE__ */ (0,
|
|
1226
|
-
/* @__PURE__ */ (0,
|
|
1227
|
-
/* @__PURE__ */ (0,
|
|
1228
|
-
/* @__PURE__ */ (0,
|
|
1229
|
-
/* @__PURE__ */ (0,
|
|
1362
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes29.Popover.Content, { children: [
|
|
1363
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typo, { color: "gray", children: "\uBAA9\uD45C\uB97C \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?" }),
|
|
1364
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: "3", children: [
|
|
1365
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Button, { color: "gray", size: "small", variant: "outline", children: "\uC544\uB2C8\uC694" }) }),
|
|
1366
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_themes29.Popover.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Button, { onClick: onClickDelete, size: "small", children: "\uC608" }) })
|
|
1230
1367
|
] })
|
|
1231
1368
|
] })
|
|
1232
1369
|
] }),
|
|
1233
|
-
/* @__PURE__ */ (0,
|
|
1234
|
-
/* @__PURE__ */ (0,
|
|
1370
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(Button, { onClick: onClickEdit, size: "small", variant: "surface", children: [
|
|
1371
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_icons3.Pencil1Icon, {}),
|
|
1235
1372
|
"\uC218\uC815\uD558\uAE30"
|
|
1236
1373
|
] })
|
|
1237
1374
|
] })
|
|
@@ -1247,81 +1384,23 @@ var import_date_fns5 = require("date-fns");
|
|
|
1247
1384
|
var import_react_table2 = require("@tanstack/react-table");
|
|
1248
1385
|
var import_react22 = require("react");
|
|
1249
1386
|
|
|
1250
|
-
// src/icons/down.tsx
|
|
1251
|
-
var React11 = __toESM(require("react"), 1);
|
|
1252
|
-
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1253
|
-
var TriangleArrowDownIcon = React11.forwardRef(
|
|
1254
|
-
(_a, forwardedRef) => {
|
|
1255
|
-
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
1256
|
-
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1257
|
-
"svg",
|
|
1258
|
-
__spreadProps(__spreadValues({
|
|
1259
|
-
fill: "none",
|
|
1260
|
-
height: "7",
|
|
1261
|
-
viewBox: "0 0 8 7",
|
|
1262
|
-
width: "8",
|
|
1263
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
1264
|
-
}, props), {
|
|
1265
|
-
ref: forwardedRef,
|
|
1266
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1267
|
-
"path",
|
|
1268
|
-
{
|
|
1269
|
-
d: "M7.10844 0.8125H0.891554C0.197392 0.8125 -0.177096 1.62672 0.274659 2.15377L3.3831 5.78029C3.70737 6.1586 4.29263 6.1586 4.6169 5.78029L7.72534 2.15377C8.1771 1.62672 7.80261 0.8125 7.10844 0.8125Z",
|
|
1270
|
-
fill: color
|
|
1271
|
-
}
|
|
1272
|
-
)
|
|
1273
|
-
})
|
|
1274
|
-
);
|
|
1275
|
-
}
|
|
1276
|
-
);
|
|
1277
|
-
TriangleArrowDownIcon.displayName = "ArrowDownIcon";
|
|
1278
|
-
|
|
1279
|
-
// src/icons/up.tsx
|
|
1280
|
-
var React12 = __toESM(require("react"), 1);
|
|
1281
|
-
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1282
|
-
var TriangleArrowUpIcon = React12.forwardRef(
|
|
1283
|
-
(_a, forwardedRef) => {
|
|
1284
|
-
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
1285
|
-
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1286
|
-
"svg",
|
|
1287
|
-
__spreadProps(__spreadValues({
|
|
1288
|
-
fill: "none",
|
|
1289
|
-
height: "7",
|
|
1290
|
-
viewBox: "0 0 8 7",
|
|
1291
|
-
width: "8",
|
|
1292
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
1293
|
-
}, props), {
|
|
1294
|
-
ref: forwardedRef,
|
|
1295
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1296
|
-
"path",
|
|
1297
|
-
{
|
|
1298
|
-
d: "M0.891555 6.1875L7.10845 6.1875C7.80261 6.1875 8.1771 5.37328 7.72534 4.84623L4.6169 1.21971C4.29263 0.841403 3.70737 0.841403 3.3831 1.21971L0.274659 4.84623C-0.177095 5.37328 0.197393 6.1875 0.891555 6.1875Z",
|
|
1299
|
-
fill: color
|
|
1300
|
-
}
|
|
1301
|
-
)
|
|
1302
|
-
})
|
|
1303
|
-
);
|
|
1304
|
-
}
|
|
1305
|
-
);
|
|
1306
|
-
TriangleArrowUpIcon.displayName = "ArrowUpIcon";
|
|
1307
|
-
|
|
1308
1387
|
// src/molecules/expand-table/row.tsx
|
|
1309
1388
|
var import_react_table = require("@tanstack/react-table");
|
|
1310
1389
|
var import_react21 = require("react");
|
|
1311
|
-
var
|
|
1390
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
1312
1391
|
|
|
1313
1392
|
// src/molecules/expand-table/index.tsx
|
|
1314
|
-
var
|
|
1393
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
1315
1394
|
|
|
1316
1395
|
// src/molecules/navigation.tsx
|
|
1317
|
-
var
|
|
1396
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
1318
1397
|
|
|
1319
1398
|
// src/molecules/date-picker/index.tsx
|
|
1320
1399
|
var import_react23 = require("react");
|
|
1321
1400
|
var RDP = __toESM(require("react-datepicker"), 1);
|
|
1322
1401
|
var import_react_datepicker = require("react-datepicker");
|
|
1323
1402
|
var import_locale = require("date-fns/locale");
|
|
1324
|
-
var
|
|
1403
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
1325
1404
|
(0, import_react_datepicker.registerLocale)("ko", import_locale.ko);
|
|
1326
1405
|
(0, import_react_datepicker.setDefaultLocale)("ko");
|
|
1327
1406
|
var ReactDatePicker = RDP.default.default || RDP.default || RDP;
|
|
@@ -1329,7 +1408,7 @@ var DatePicker = (0, import_react23.forwardRef)(
|
|
|
1329
1408
|
(props, ref) => {
|
|
1330
1409
|
const _a = props, { fullWidth } = _a, rest = __objRest(_a, ["fullWidth"]);
|
|
1331
1410
|
const fullWidthClassName = fullWidth ? "full-width" : "";
|
|
1332
|
-
return /* @__PURE__ */ (0,
|
|
1411
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_themes22.Flex, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1333
1412
|
ReactDatePicker,
|
|
1334
1413
|
__spreadProps(__spreadValues({
|
|
1335
1414
|
dateFormat: "YYYY/MM/dd",
|
|
@@ -1360,35 +1439,35 @@ var renderCustomHeader = (props) => {
|
|
|
1360
1439
|
} = props;
|
|
1361
1440
|
const year = date ? new Date(date).getFullYear() : "-";
|
|
1362
1441
|
const month = date ? new Date(date).getMonth() + 1 : "-";
|
|
1363
|
-
return /* @__PURE__ */ (0,
|
|
1364
|
-
/* @__PURE__ */ (0,
|
|
1442
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes22.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
|
|
1443
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1365
1444
|
import_themes18.IconButton,
|
|
1366
1445
|
{
|
|
1367
1446
|
disabled: prevMonthButtonDisabled,
|
|
1368
1447
|
onClick: decreaseMonth,
|
|
1369
1448
|
type: "button",
|
|
1370
1449
|
variant: "ghost",
|
|
1371
|
-
children: /* @__PURE__ */ (0,
|
|
1450
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react_icons3.ChevronLeftIcon, {})
|
|
1372
1451
|
}
|
|
1373
1452
|
),
|
|
1374
|
-
/* @__PURE__ */ (0,
|
|
1375
|
-
/* @__PURE__ */ (0,
|
|
1453
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_themes22.Flex, { gap: "3", children: [
|
|
1454
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
1376
1455
|
year,
|
|
1377
1456
|
"\uB144"
|
|
1378
1457
|
] }),
|
|
1379
|
-
/* @__PURE__ */ (0,
|
|
1458
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
|
|
1380
1459
|
month,
|
|
1381
1460
|
"\uC6D4"
|
|
1382
1461
|
] })
|
|
1383
1462
|
] }),
|
|
1384
|
-
/* @__PURE__ */ (0,
|
|
1463
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1385
1464
|
import_themes18.IconButton,
|
|
1386
1465
|
{
|
|
1387
1466
|
disabled: nextMonthButtonDisabled,
|
|
1388
1467
|
onClick: increaseMonth,
|
|
1389
1468
|
type: "button",
|
|
1390
1469
|
variant: "ghost",
|
|
1391
|
-
children: /* @__PURE__ */ (0,
|
|
1470
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react_icons3.ChevronRightIcon, {})
|
|
1392
1471
|
}
|
|
1393
1472
|
)
|
|
1394
1473
|
] });
|
|
@@ -1397,12 +1476,12 @@ var renderCustomHeader = (props) => {
|
|
|
1397
1476
|
// src/molecules/dot-navigation.tsx
|
|
1398
1477
|
var import_react24 = require("react");
|
|
1399
1478
|
var import_react_icons5 = require("@radix-ui/react-icons");
|
|
1400
|
-
var
|
|
1479
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
1401
1480
|
|
|
1402
1481
|
// src/molecules/stepper.tsx
|
|
1403
1482
|
var import_react25 = require("react");
|
|
1404
1483
|
var import_themes51 = require("@radix-ui/themes");
|
|
1405
|
-
var
|
|
1484
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
1406
1485
|
var StepContext = (0, import_react25.createContext)({
|
|
1407
1486
|
active: false,
|
|
1408
1487
|
completed: false,
|
|
@@ -1412,24 +1491,24 @@ var StepContext = (0, import_react25.createContext)({
|
|
|
1412
1491
|
// src/molecules/tag-selector.tsx
|
|
1413
1492
|
var import_react26 = require("react");
|
|
1414
1493
|
var import_react_icons6 = require("@radix-ui/react-icons");
|
|
1415
|
-
var
|
|
1494
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
1416
1495
|
|
|
1417
1496
|
// src/theme/theme-provider.tsx
|
|
1418
1497
|
var import_themes52 = require("@radix-ui/themes");
|
|
1419
|
-
var
|
|
1498
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
1420
1499
|
|
|
1421
1500
|
// src/molecules/learning-post.tsx
|
|
1422
|
-
var
|
|
1501
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
1423
1502
|
|
|
1424
1503
|
// src/molecules/force-refresh.tsx
|
|
1425
1504
|
var import_react_icons7 = require("@radix-ui/react-icons");
|
|
1426
|
-
var
|
|
1505
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
1427
1506
|
|
|
1428
1507
|
// src/molecules/date-picker/date-picker-button.tsx
|
|
1429
1508
|
var import_react27 = require("react");
|
|
1430
1509
|
var import_date_fns3 = require("date-fns");
|
|
1431
1510
|
var import_clsx = require("clsx");
|
|
1432
|
-
var
|
|
1511
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
1433
1512
|
function DatePickerButton(props) {
|
|
1434
1513
|
const _a = props, { size, placeholder, format: formatProps, disabled } = _a, rest = __objRest(_a, ["size", "placeholder", "format", "disabled"]);
|
|
1435
1514
|
const buttonProps = (0, import_react27.useMemo)(() => {
|
|
@@ -1448,12 +1527,12 @@ function DatePickerButton(props) {
|
|
|
1448
1527
|
(disabled || props.readOnly) && "disabled"
|
|
1449
1528
|
);
|
|
1450
1529
|
}, [disabled, props.readOnly]);
|
|
1451
|
-
return /* @__PURE__ */ (0,
|
|
1530
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_themes6.Box, { p: "0", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1452
1531
|
DatePicker,
|
|
1453
1532
|
__spreadProps(__spreadValues({
|
|
1454
|
-
customInput: /* @__PURE__ */ (0,
|
|
1533
|
+
customInput: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Button, __spreadProps(__spreadValues({ className, type: "button" }, buttonProps), { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", width: "100%", children: [
|
|
1455
1534
|
rest.selected ? selectFormat(rest.selected) : placeholder,
|
|
1456
|
-
/* @__PURE__ */ (0,
|
|
1535
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react_icons3.CalendarIcon, {})
|
|
1457
1536
|
] }) })),
|
|
1458
1537
|
wrapperClassName: "full-width"
|
|
1459
1538
|
}, rest), {
|
|
@@ -1487,7 +1566,7 @@ var getTimeOption = (time) => {
|
|
|
1487
1566
|
};
|
|
1488
1567
|
|
|
1489
1568
|
// src/molecules/time-select.tsx
|
|
1490
|
-
var
|
|
1569
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
1491
1570
|
var getOptionValue = (date, timeValue) => {
|
|
1492
1571
|
if (date && timeValue) {
|
|
1493
1572
|
if ((0, import_date_fns4.format)(date, "yyyyMMdd") === (0, import_date_fns4.format)(timeValue, "yyyyMMdd")) {
|
|
@@ -1513,21 +1592,21 @@ function TimeSelect(_a) {
|
|
|
1513
1592
|
const [minOption, maxOption] = (0, import_react28.useMemo)(() => {
|
|
1514
1593
|
return [getOptionValue(minTime, time), getOptionValue(maxTime, time)];
|
|
1515
1594
|
}, [maxTime, minTime, time]);
|
|
1516
|
-
return /* @__PURE__ */ (0,
|
|
1517
|
-
/* @__PURE__ */ (0,
|
|
1518
|
-
/* @__PURE__ */ (0,
|
|
1595
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(Select.Root, __spreadProps(__spreadValues({ value }, rest), { children: [
|
|
1596
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_themes22.Flex, { direction: "column", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Select.Trigger, { placeholder: "- ", style: { minWidth: "100px" }, children: value }) }),
|
|
1597
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Select.Content, { children: timeOptions.map((option) => {
|
|
1519
1598
|
const visible = (!minOption || option >= minOption) && (!maxOption || option <= maxOption);
|
|
1520
1599
|
if (!visible) {
|
|
1521
1600
|
return null;
|
|
1522
1601
|
}
|
|
1523
|
-
return /* @__PURE__ */ (0,
|
|
1602
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Select.Item, { value: option, children: option }, option);
|
|
1524
1603
|
}) })
|
|
1525
1604
|
] }));
|
|
1526
1605
|
}
|
|
1527
1606
|
|
|
1528
1607
|
// src/molecules/radio-button-card.tsx
|
|
1529
1608
|
var import_react29 = require("react");
|
|
1530
|
-
var
|
|
1609
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
1531
1610
|
var RadioCardContext = (0, import_react29.createContext)({});
|
|
1532
1611
|
function Root8(props) {
|
|
1533
1612
|
const [value, setValue] = (0, import_react29.useState)(props.value || props.defaultValue);
|
|
@@ -1539,7 +1618,7 @@ function Root8(props) {
|
|
|
1539
1618
|
},
|
|
1540
1619
|
[props]
|
|
1541
1620
|
);
|
|
1542
|
-
return /* @__PURE__ */ (0,
|
|
1621
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(RadioCardContext.Provider, { value: __spreadProps(__spreadValues({}, props), { value }), children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_themes33.RadioCards.Root, __spreadProps(__spreadValues({}, props), { onValueChange })) });
|
|
1543
1622
|
}
|
|
1544
1623
|
function Item(_a) {
|
|
1545
1624
|
var _b = _a, {
|
|
@@ -1556,9 +1635,9 @@ function Item(_a) {
|
|
|
1556
1635
|
"justify",
|
|
1557
1636
|
"RadioWrapper"
|
|
1558
1637
|
]);
|
|
1559
|
-
return /* @__PURE__ */ (0,
|
|
1638
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_themes33.RadioCards.Item, __spreadProps(__spreadValues({}, itemRest), { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_themes22.Flex, { align: "center", justify: justify || "between", width: "100%", children: [
|
|
1560
1639
|
children,
|
|
1561
|
-
/* @__PURE__ */ (0,
|
|
1640
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(RadioWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
1562
1641
|
import_themes32.Radio,
|
|
1563
1642
|
{
|
|
1564
1643
|
checked: itemRest.value === value,
|
|
@@ -1575,10 +1654,10 @@ var RadioButtonCard = {
|
|
|
1575
1654
|
|
|
1576
1655
|
// src/molecules/download-card.tsx
|
|
1577
1656
|
var import_react_icons8 = require("@radix-ui/react-icons");
|
|
1578
|
-
var
|
|
1657
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
1579
1658
|
|
|
1580
1659
|
// src/app/platform/goal-manage-card-edit.tsx
|
|
1581
|
-
var
|
|
1660
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
1582
1661
|
var initialValues = {
|
|
1583
1662
|
goal: "",
|
|
1584
1663
|
effect: "",
|
|
@@ -1607,11 +1686,11 @@ function GoalManageCardEdit(props) {
|
|
|
1607
1686
|
var _a;
|
|
1608
1687
|
(_a = props.onSubmit) == null ? void 0 : _a.call(props, values);
|
|
1609
1688
|
}, [props, values]);
|
|
1610
|
-
return /* @__PURE__ */ (0,
|
|
1611
|
-
/* @__PURE__ */ (0,
|
|
1612
|
-
/* @__PURE__ */ (0,
|
|
1613
|
-
/* @__PURE__ */ (0,
|
|
1614
|
-
/* @__PURE__ */ (0,
|
|
1689
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Card, { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Form.Root, { onSubmit: dummyFn, children: [
|
|
1690
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
1691
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Form.Field, { name: "title", children: [
|
|
1692
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Label, { children: "\uC774\uBC88 \uCF54\uCE6D\uC758 \uBAA9\uD45C\uB294 \uC544\uB798\uC640 \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
1693
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1615
1694
|
TextField.Root,
|
|
1616
1695
|
{
|
|
1617
1696
|
error: Boolean(errors == null ? void 0 : errors.goal),
|
|
@@ -1622,11 +1701,11 @@ function GoalManageCardEdit(props) {
|
|
|
1622
1701
|
value: values.goal
|
|
1623
1702
|
}
|
|
1624
1703
|
),
|
|
1625
|
-
/* @__PURE__ */ (0,
|
|
1704
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.goal), children: errors == null ? void 0 : errors.goal })
|
|
1626
1705
|
] }),
|
|
1627
|
-
/* @__PURE__ */ (0,
|
|
1628
|
-
/* @__PURE__ */ (0,
|
|
1629
|
-
/* @__PURE__ */ (0,
|
|
1706
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Form.Field, { name: "effect", children: [
|
|
1707
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Label, { children: "\uAE30\uB300\uD6A8\uACFC" }),
|
|
1708
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1630
1709
|
TextArea,
|
|
1631
1710
|
{
|
|
1632
1711
|
error: Boolean(errors == null ? void 0 : errors.effect),
|
|
@@ -1638,11 +1717,11 @@ function GoalManageCardEdit(props) {
|
|
|
1638
1717
|
value: values.effect
|
|
1639
1718
|
}
|
|
1640
1719
|
),
|
|
1641
|
-
/* @__PURE__ */ (0,
|
|
1720
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.effect), children: errors == null ? void 0 : errors.effect })
|
|
1642
1721
|
] }),
|
|
1643
|
-
/* @__PURE__ */ (0,
|
|
1644
|
-
/* @__PURE__ */ (0,
|
|
1645
|
-
/* @__PURE__ */ (0,
|
|
1722
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Form.Field, { name: "huddle", children: [
|
|
1723
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Label, { children: "\uBC29\uD574\uC694\uC18C" }),
|
|
1724
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1646
1725
|
TextArea,
|
|
1647
1726
|
{
|
|
1648
1727
|
error: Boolean(errors == null ? void 0 : errors.huddle),
|
|
@@ -1656,11 +1735,11 @@ function GoalManageCardEdit(props) {
|
|
|
1656
1735
|
value: values.huddle
|
|
1657
1736
|
}
|
|
1658
1737
|
),
|
|
1659
|
-
/* @__PURE__ */ (0,
|
|
1738
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.huddle), children: errors == null ? void 0 : errors.huddle })
|
|
1660
1739
|
] }),
|
|
1661
|
-
/* @__PURE__ */ (0,
|
|
1662
|
-
/* @__PURE__ */ (0,
|
|
1663
|
-
/* @__PURE__ */ (0,
|
|
1740
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Form.Field, { name: "dueDate", children: [
|
|
1741
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Label, { children: "\uBAA9\uD45C \uB2EC\uC131 \uAE30\uD55C\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4" }),
|
|
1742
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1664
1743
|
DatePickerButton,
|
|
1665
1744
|
{
|
|
1666
1745
|
format: (v) => (0, import_date_fns5.format)(v, "yyyy\uB144 MM\uC6D4 dd\uC77C"),
|
|
@@ -1671,11 +1750,11 @@ function GoalManageCardEdit(props) {
|
|
|
1671
1750
|
selected: values.dueDate
|
|
1672
1751
|
}
|
|
1673
1752
|
),
|
|
1674
|
-
/* @__PURE__ */ (0,
|
|
1753
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Form.Message, { forceMatch: Boolean(errors == null ? void 0 : errors.dueDate), children: errors == null ? void 0 : errors.dueDate })
|
|
1675
1754
|
] })
|
|
1676
1755
|
] }),
|
|
1677
|
-
/* @__PURE__ */ (0,
|
|
1678
|
-
/* @__PURE__ */ (0,
|
|
1756
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", width: "100%", children: [
|
|
1757
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1679
1758
|
Button,
|
|
1680
1759
|
{
|
|
1681
1760
|
color: "gray",
|
|
@@ -1686,7 +1765,7 @@ function GoalManageCardEdit(props) {
|
|
|
1686
1765
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
1687
1766
|
}
|
|
1688
1767
|
),
|
|
1689
|
-
/* @__PURE__ */ (0,
|
|
1768
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Button, { onClick: onClickSubmit, size: "small", type: "button", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
1690
1769
|
] })
|
|
1691
1770
|
] }) });
|
|
1692
1771
|
}
|
|
@@ -1697,7 +1776,7 @@ var import_date_fns6 = require("date-fns");
|
|
|
1697
1776
|
|
|
1698
1777
|
// src/app/platform/edit-coaching-time.tsx
|
|
1699
1778
|
var import_react31 = require("react");
|
|
1700
|
-
var
|
|
1779
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
1701
1780
|
var getValueFromDefaultValue = (args) => {
|
|
1702
1781
|
return {
|
|
1703
1782
|
startTime: args.startAt ? getTimeOption(args.startAt) : "00:00",
|
|
@@ -1767,10 +1846,10 @@ function EditCoachingTime(props) {
|
|
|
1767
1846
|
import_react_toastify2.toast.error("\uC785\uB825 \uAC12\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
|
|
1768
1847
|
}
|
|
1769
1848
|
}, [checkTimeError, props, values.date, values.endTime, values.startTime]);
|
|
1770
|
-
return /* @__PURE__ */ (0,
|
|
1771
|
-
/* @__PURE__ */ (0,
|
|
1772
|
-
/* @__PURE__ */ (0,
|
|
1773
|
-
/* @__PURE__ */ (0,
|
|
1849
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_themes6.Box, { width: { initial: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Form.Root, { children: [
|
|
1850
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Form.Field, { name: "date", children: [
|
|
1851
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Label, { variant: "caption", children: "\uB0A0\uC9DC" }),
|
|
1852
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
1774
1853
|
DatePickerButton,
|
|
1775
1854
|
{
|
|
1776
1855
|
maxDate: /* @__PURE__ */ new Date(),
|
|
@@ -1780,7 +1859,7 @@ function EditCoachingTime(props) {
|
|
|
1780
1859
|
}
|
|
1781
1860
|
)
|
|
1782
1861
|
] }),
|
|
1783
|
-
/* @__PURE__ */ (0,
|
|
1862
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
1784
1863
|
import_themes23.Grid,
|
|
1785
1864
|
{
|
|
1786
1865
|
align: "center",
|
|
@@ -1795,10 +1874,10 @@ function EditCoachingTime(props) {
|
|
|
1795
1874
|
mt: "5",
|
|
1796
1875
|
width: "100%",
|
|
1797
1876
|
children: [
|
|
1798
|
-
/* @__PURE__ */ (0,
|
|
1799
|
-
/* @__PURE__ */ (0,
|
|
1800
|
-
/* @__PURE__ */ (0,
|
|
1801
|
-
/* @__PURE__ */ (0,
|
|
1877
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Field, { name: "startTime", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Label, { variant: "caption", children: "\uC2DC\uC791 \uC2DC\uAC04" }) }),
|
|
1878
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", {}),
|
|
1879
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Field, { name: "endTime", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Label, { variant: "caption", children: "\uC885\uB8CC \uC2DC\uAC04" }) }),
|
|
1880
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
1802
1881
|
TimeSelect,
|
|
1803
1882
|
{
|
|
1804
1883
|
onValueChange: onChangeStartTime,
|
|
@@ -1806,8 +1885,8 @@ function EditCoachingTime(props) {
|
|
|
1806
1885
|
value: values.startTime
|
|
1807
1886
|
}
|
|
1808
1887
|
),
|
|
1809
|
-
/* @__PURE__ */ (0,
|
|
1810
|
-
/* @__PURE__ */ (0,
|
|
1888
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_themes6.Box, { overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_themes39.Separator, {}) }),
|
|
1889
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
1811
1890
|
TimeSelect,
|
|
1812
1891
|
{
|
|
1813
1892
|
onValueChange: onChangeEndTime,
|
|
@@ -1815,13 +1894,13 @@ function EditCoachingTime(props) {
|
|
|
1815
1894
|
value: values.endTime
|
|
1816
1895
|
}
|
|
1817
1896
|
),
|
|
1818
|
-
/* @__PURE__ */ (0,
|
|
1897
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Field, { name: "startEndTime", style: { gridColumn: "1/span 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Form.Message, { forceMatch: Boolean(timeError), children: timeError }) })
|
|
1819
1898
|
]
|
|
1820
1899
|
}
|
|
1821
1900
|
),
|
|
1822
|
-
/* @__PURE__ */ (0,
|
|
1823
|
-
/* @__PURE__ */ (0,
|
|
1824
|
-
/* @__PURE__ */ (0,
|
|
1901
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", children: [
|
|
1902
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Button, { onClick: onClickCancel, type: "button", variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
1903
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Button, { onClick: onClickSave, type: "button", children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
1825
1904
|
] })
|
|
1826
1905
|
] }) });
|
|
1827
1906
|
}
|
|
@@ -1831,20 +1910,20 @@ var import_react32 = require("react");
|
|
|
1831
1910
|
|
|
1832
1911
|
// src/app/platform/on-offline-radio-card.tsx
|
|
1833
1912
|
var import_react_icons9 = require("@radix-ui/react-icons");
|
|
1834
|
-
var
|
|
1913
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
1835
1914
|
var SERVICE_TYPE = {
|
|
1836
1915
|
onlineCoaching: "onlineCoaching",
|
|
1837
1916
|
offlineCoaching: "offlineCoaching"
|
|
1838
1917
|
};
|
|
1839
1918
|
var breakpoint = "sm";
|
|
1840
1919
|
function HideSmallBox(props) {
|
|
1841
|
-
return /* @__PURE__ */ (0,
|
|
1920
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_themes6.Box, { display: { initial: "none", [breakpoint]: "block" }, children: props.children });
|
|
1842
1921
|
}
|
|
1843
1922
|
function OnOfflineRadioCard(props) {
|
|
1844
1923
|
const Wrapper = props.response ? HideSmallBox : (p) => p.children;
|
|
1845
1924
|
const columns = props.response ? { initial: "2", [breakpoint]: "1" } : "1";
|
|
1846
1925
|
const justify = props.response ? { initial: "center", [breakpoint]: "between" } : "between";
|
|
1847
|
-
return /* @__PURE__ */ (0,
|
|
1926
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
1848
1927
|
RadioButtonCard.Root,
|
|
1849
1928
|
__spreadProps(__spreadValues({
|
|
1850
1929
|
RadioWrapper: Wrapper,
|
|
@@ -1853,13 +1932,13 @@ function OnOfflineRadioCard(props) {
|
|
|
1853
1932
|
justify
|
|
1854
1933
|
}, props), {
|
|
1855
1934
|
children: [
|
|
1856
|
-
/* @__PURE__ */ (0,
|
|
1857
|
-
/* @__PURE__ */ (0,
|
|
1858
|
-
/* @__PURE__ */ (0,
|
|
1935
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.onlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
1936
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react_icons9.GlobeIcon, {}) }),
|
|
1937
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Typo, { children: "\uC628\uB77C\uC778" })
|
|
1859
1938
|
] }) }),
|
|
1860
|
-
/* @__PURE__ */ (0,
|
|
1861
|
-
/* @__PURE__ */ (0,
|
|
1862
|
-
/* @__PURE__ */ (0,
|
|
1939
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(RadioButtonCard.Item, { value: SERVICE_TYPE.offlineCoaching, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_themes22.Flex, { align: "center", gap: "2", children: [
|
|
1940
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react_icons9.BackpackIcon, {}) }),
|
|
1941
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Typo, { children: "\uC624\uD504\uB77C\uC778" })
|
|
1863
1942
|
] }) })
|
|
1864
1943
|
]
|
|
1865
1944
|
})
|
|
@@ -1867,7 +1946,7 @@ function OnOfflineRadioCard(props) {
|
|
|
1867
1946
|
}
|
|
1868
1947
|
|
|
1869
1948
|
// src/app/platform/edit-service-type.tsx
|
|
1870
|
-
var
|
|
1949
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
1871
1950
|
function EditServiceType(props) {
|
|
1872
1951
|
const { defaultServiceType, onClickCancel } = props;
|
|
1873
1952
|
const [sessionType, setSessionType] = (0, import_react32.useState)(
|
|
@@ -1877,8 +1956,8 @@ function EditServiceType(props) {
|
|
|
1877
1956
|
var _a;
|
|
1878
1957
|
(_a = props.onClickSave) == null ? void 0 : _a.call(props, sessionType);
|
|
1879
1958
|
}, [props, sessionType]);
|
|
1880
|
-
return /* @__PURE__ */ (0,
|
|
1881
|
-
/* @__PURE__ */ (0,
|
|
1959
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes6.Box, { children: [
|
|
1960
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
1882
1961
|
Typo,
|
|
1883
1962
|
{
|
|
1884
1963
|
as: "p",
|
|
@@ -1888,16 +1967,16 @@ function EditServiceType(props) {
|
|
|
1888
1967
|
children: "\uC138\uC158 \uC720\uD615\uC5D0 \uB530\uB77C \uCC45\uC815\uB418\uB294 \uCF54\uCE6D \uAE08\uC561\uC774 \uB2EC\uB77C\uC9C0\uBBC0\uB85C, \uC815\uD655\uD558\uAC8C \uC120\uD0DD\uD574\uC8FC\uC138\uC694"
|
|
1889
1968
|
}
|
|
1890
1969
|
),
|
|
1891
|
-
/* @__PURE__ */ (0,
|
|
1892
|
-
/* @__PURE__ */ (0,
|
|
1893
|
-
/* @__PURE__ */ (0,
|
|
1894
|
-
/* @__PURE__ */ (0,
|
|
1970
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(OnOfflineRadioCard, { onValueChange: setSessionType, value: sessionType }),
|
|
1971
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_themes22.Flex, { gap: "3", justify: "end", mt: { initial: "6", xs: "3" }, children: [
|
|
1972
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "outline", children: "\uCDE8\uC18C\uD558\uAE30" }) }),
|
|
1973
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Dialog.Close, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Button, { onClick: onClickSave, children: "\uC800\uC7A5\uD558\uAE30" }) })
|
|
1895
1974
|
] })
|
|
1896
1975
|
] });
|
|
1897
1976
|
}
|
|
1898
1977
|
|
|
1899
1978
|
// src/app/platform/session-card.tsx
|
|
1900
|
-
var
|
|
1979
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
1901
1980
|
var preventDefault2 = (e) => {
|
|
1902
1981
|
e.preventDefault();
|
|
1903
1982
|
};
|
|
@@ -1928,33 +2007,33 @@ function SessionCard(props) {
|
|
|
1928
2007
|
"sessionType"
|
|
1929
2008
|
]);
|
|
1930
2009
|
const renderEditButton = (0, import_react33.useCallback)(() => {
|
|
1931
|
-
return /* @__PURE__ */ (0,
|
|
2010
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Button, { color: "gray", ml: "2", variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_react_icons3.Pencil1Icon, {}) });
|
|
1932
2011
|
}, []);
|
|
1933
2012
|
const sessionTimeStr = (0, import_react33.useMemo)(() => {
|
|
1934
2013
|
if (!startAt || !endAt)
|
|
1935
2014
|
return "\uC54C \uC218 \uC5C6\uC74C";
|
|
1936
2015
|
return `${(0, import_date_fns6.format)(startAt, "yyyy\uB144 MM\uC6D4 dd\uC77C HH\uC2DC mm\uBD84")} ~ ${(0, import_date_fns6.format)(endAt, "HH\uC2DC mm\uBD84")}`;
|
|
1937
2016
|
}, [startAt, endAt]);
|
|
1938
|
-
return /* @__PURE__ */ (0,
|
|
1939
|
-
/* @__PURE__ */ (0,
|
|
1940
|
-
/* @__PURE__ */ (0,
|
|
2017
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Card, __spreadProps(__spreadValues({ error: Boolean(error) }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes22.Flex, { direction: "column", gap: "3", children: [
|
|
2018
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes22.Flex, { align: "center", width: "100%", children: [
|
|
2019
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Heading2, { variant: "heading4", children: `${userName || "\uC54C \uC218 \uC5C6\uC74C"}\uB2D8 ${sessionNumber || "-"}\uD68C\uCC28` }),
|
|
1941
2020
|
TitleExtra,
|
|
1942
|
-
error ? /* @__PURE__ */ (0,
|
|
2021
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(BulletText, { as: "p", color: "red", variant: "caption", children: error }) : null
|
|
1943
2022
|
] }),
|
|
1944
|
-
/* @__PURE__ */ (0,
|
|
1945
|
-
/* @__PURE__ */ (0,
|
|
1946
|
-
/* @__PURE__ */ (0,
|
|
1947
|
-
/* @__PURE__ */ (0,
|
|
2023
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Root, { children: [
|
|
2024
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Item, { children: [
|
|
2025
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_themes15.DataList.Label, { children: "\uCF54\uCE6D \uC77C\uC2DC" }),
|
|
2026
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Value, { children: [
|
|
1948
2027
|
sessionTimeStr,
|
|
1949
|
-
editable ? /* @__PURE__ */ (0,
|
|
1950
|
-
/* @__PURE__ */ (0,
|
|
1951
|
-
/* @__PURE__ */ (0,
|
|
2028
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Dialog.Root, { children: [
|
|
2029
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
2030
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1952
2031
|
Dialog.Content,
|
|
1953
2032
|
{
|
|
1954
2033
|
onOpenAutoFocus: preventDefault2,
|
|
1955
2034
|
style: { overflow: "visible" },
|
|
1956
2035
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC77C\uC2DC \uBCC0\uACBD\uD558\uAE30`,
|
|
1957
|
-
children: /* @__PURE__ */ (0,
|
|
2036
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1958
2037
|
EditCoachingTime,
|
|
1959
2038
|
{
|
|
1960
2039
|
defaultEndAt: endAt,
|
|
@@ -1967,18 +2046,18 @@ function SessionCard(props) {
|
|
|
1967
2046
|
] }) : null
|
|
1968
2047
|
] })
|
|
1969
2048
|
] }),
|
|
1970
|
-
/* @__PURE__ */ (0,
|
|
1971
|
-
/* @__PURE__ */ (0,
|
|
1972
|
-
/* @__PURE__ */ (0,
|
|
1973
|
-
/* @__PURE__ */ (0,
|
|
2049
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes23.Grid, { columns: { initial: "1", xs: "2" }, style: { gap: "inherit" }, children: [
|
|
2050
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Item, { children: [
|
|
2051
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_themes15.DataList.Label, { children: "\uC138\uC158 \uCC38\uC5EC \uBC29\uC2DD" }),
|
|
2052
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_themes15.DataList.Value, { children: [
|
|
1974
2053
|
sessionType === "offlineCoaching" ? "\uC624\uD504\uB77C\uC778" : "\uC628\uB77C\uC778",
|
|
1975
|
-
editable ? /* @__PURE__ */ (0,
|
|
1976
|
-
/* @__PURE__ */ (0,
|
|
1977
|
-
/* @__PURE__ */ (0,
|
|
2054
|
+
editable ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Dialog.Root, { children: [
|
|
2055
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Dialog.Trigger, { children: renderEditButton() }),
|
|
2056
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1978
2057
|
Dialog.Content,
|
|
1979
2058
|
{
|
|
1980
2059
|
title: `${sessionNumber}\uD68C\uCC28 \uC138\uC158 \uC9C4\uD589 \uBC29\uC2DD \uBCC0\uACBD\uD558\uAE30`,
|
|
1981
|
-
children: /* @__PURE__ */ (0,
|
|
2060
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1982
2061
|
EditServiceType,
|
|
1983
2062
|
{
|
|
1984
2063
|
defaultServiceType: sessionType,
|
|
@@ -1990,32 +2069,32 @@ function SessionCard(props) {
|
|
|
1990
2069
|
] }) : null
|
|
1991
2070
|
] })
|
|
1992
2071
|
] }),
|
|
1993
|
-
/* @__PURE__ */ (0,
|
|
2072
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_themes22.Flex, { gap: "2", justify: "end", children: ExtraButtons })
|
|
1994
2073
|
] })
|
|
1995
2074
|
] })
|
|
1996
2075
|
] }) }));
|
|
1997
2076
|
}
|
|
1998
2077
|
|
|
1999
2078
|
// src/app/platform/coach-question-list.tsx
|
|
2000
|
-
var
|
|
2079
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
2001
2080
|
function QuestionItem({ question, answer }) {
|
|
2002
|
-
return /* @__PURE__ */ (0,
|
|
2003
|
-
/* @__PURE__ */ (0,
|
|
2004
|
-
/* @__PURE__ */ (0,
|
|
2081
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_themes6.Box, { children: [
|
|
2082
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Heading2, { mb: "2", variant: "heading5", children: question }),
|
|
2083
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Card, { children: answer ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Typo, { as: "p", children: answer }) : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Typo, { color: "gray", children: "\uB4F1\uB85D\uB41C \uB2F5\uBCC0\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }) })
|
|
2005
2084
|
] }, question);
|
|
2006
2085
|
}
|
|
2007
2086
|
function CoachQuestionList({
|
|
2008
2087
|
questions
|
|
2009
2088
|
}) {
|
|
2010
|
-
return /* @__PURE__ */ (0,
|
|
2011
|
-
return /* @__PURE__ */ (0,
|
|
2089
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_themes22.Flex, { direction: "column", gap: "8", children: questions.map((question) => {
|
|
2090
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(QuestionItem, __spreadValues({}, question), question.question);
|
|
2012
2091
|
}) });
|
|
2013
2092
|
}
|
|
2014
2093
|
|
|
2015
2094
|
// src/app/platform/reservation-card.tsx
|
|
2016
2095
|
var import_react34 = require("react");
|
|
2017
2096
|
var import_date_fns7 = require("date-fns");
|
|
2018
|
-
var
|
|
2097
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
2019
2098
|
function ReservationCard(props) {
|
|
2020
2099
|
const {
|
|
2021
2100
|
sessionNumber,
|
|
@@ -2049,9 +2128,9 @@ function ReservationCard(props) {
|
|
|
2049
2128
|
}, [defaultTime, defaultType]);
|
|
2050
2129
|
const ActionButtons = (0, import_react34.useMemo)(() => {
|
|
2051
2130
|
if (readonly) {
|
|
2052
|
-
return /* @__PURE__ */ (0,
|
|
2131
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, { onClick: onClickReserve, size: "small", variant: "surface", children: defaultTime && defaultType ? "\uC608\uC57D \uC218\uC815\uD558\uAE30" : "\uC608\uC57D\uD558\uAE30" });
|
|
2053
2132
|
}
|
|
2054
|
-
return /* @__PURE__ */ (0,
|
|
2133
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, { color: "gray", onClick: onClickCancel, variant: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_icons3.Cross1Icon, {}) });
|
|
2055
2134
|
}, [defaultTime, defaultType, onClickCancel, onClickReserve, readonly]);
|
|
2056
2135
|
const onChangeDate = (0, import_react34.useCallback)(
|
|
2057
2136
|
(newDate) => {
|
|
@@ -2108,47 +2187,47 @@ function ReservationCard(props) {
|
|
|
2108
2187
|
});
|
|
2109
2188
|
}
|
|
2110
2189
|
}, [editValues, maxTime, readonly]);
|
|
2111
|
-
return /* @__PURE__ */ (0,
|
|
2190
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
2112
2191
|
Card,
|
|
2113
2192
|
{
|
|
2114
2193
|
error: Boolean(error),
|
|
2115
2194
|
size: "3",
|
|
2116
2195
|
style: { overflow: "visible", contain: "initial" },
|
|
2117
2196
|
children: [
|
|
2118
|
-
/* @__PURE__ */ (0,
|
|
2119
|
-
/* @__PURE__ */ (0,
|
|
2197
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "between", mb: "5", children: [
|
|
2198
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
2120
2199
|
import_themes23.Grid,
|
|
2121
2200
|
{
|
|
2122
2201
|
align: "center",
|
|
2123
2202
|
columns: { initial: "1", xs: "auto 1fr" },
|
|
2124
2203
|
gapY: "2",
|
|
2125
2204
|
children: [
|
|
2126
|
-
/* @__PURE__ */ (0,
|
|
2127
|
-
/* @__PURE__ */ (0,
|
|
2205
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", children: [
|
|
2206
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Heading2, { variant: "heading4", children: [
|
|
2128
2207
|
customerName || "-",
|
|
2129
2208
|
"\uB2D8 ",
|
|
2130
2209
|
sessionNumber || "-",
|
|
2131
2210
|
"\uD68C\uCC28 \uC138\uC158"
|
|
2132
2211
|
] }),
|
|
2133
|
-
/* @__PURE__ */ (0,
|
|
2212
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Badge, { ml: "2", children: "\uB2E4\uC74C \uC138\uC158" })
|
|
2134
2213
|
] }),
|
|
2135
|
-
error ? /* @__PURE__ */ (0,
|
|
2214
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(BulletText, { color: "red", variant: "caption", children: error }) : null
|
|
2136
2215
|
]
|
|
2137
2216
|
}
|
|
2138
2217
|
),
|
|
2139
|
-
/* @__PURE__ */ (0,
|
|
2218
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes22.Flex, { children: ActionButtons })
|
|
2140
2219
|
] }),
|
|
2141
|
-
/* @__PURE__ */ (0,
|
|
2220
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2142
2221
|
Form.Root,
|
|
2143
2222
|
{
|
|
2144
2223
|
onSubmit: (e) => {
|
|
2145
2224
|
e.preventDefault();
|
|
2146
2225
|
},
|
|
2147
|
-
children: /* @__PURE__ */ (0,
|
|
2148
|
-
/* @__PURE__ */ (0,
|
|
2149
|
-
/* @__PURE__ */ (0,
|
|
2150
|
-
/* @__PURE__ */ (0,
|
|
2151
|
-
/* @__PURE__ */ (0,
|
|
2226
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2227
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Form.Field, { name: "date", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Form.Label, { asChild: true, children: [
|
|
2228
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC138\uC158 \uC77C\uC790\uC640 \uC2DC\uAC01" }),
|
|
2229
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes23.Grid, { columns: "1fr auto", gap: "4", children: [
|
|
2230
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2152
2231
|
DatePickerButton,
|
|
2153
2232
|
{
|
|
2154
2233
|
disabled: readonly,
|
|
@@ -2160,7 +2239,7 @@ function ReservationCard(props) {
|
|
|
2160
2239
|
size: "large"
|
|
2161
2240
|
}
|
|
2162
2241
|
),
|
|
2163
|
-
/* @__PURE__ */ (0,
|
|
2242
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2164
2243
|
TimeSelect,
|
|
2165
2244
|
{
|
|
2166
2245
|
disabled: readonly,
|
|
@@ -2174,9 +2253,9 @@ function ReservationCard(props) {
|
|
|
2174
2253
|
)
|
|
2175
2254
|
] })
|
|
2176
2255
|
] }) }),
|
|
2177
|
-
/* @__PURE__ */ (0,
|
|
2178
|
-
/* @__PURE__ */ (0,
|
|
2179
|
-
/* @__PURE__ */ (0,
|
|
2256
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Form.Field, { name: "type", children: [
|
|
2257
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Form.Label, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: "\uC628/\uC624\uD504\uB77C\uC778 \uC9C4\uD589 \uC5EC\uBD80" }) }),
|
|
2258
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Form.Control, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2180
2259
|
OnOfflineRadioCard,
|
|
2181
2260
|
{
|
|
2182
2261
|
disabled: readonly,
|
|
@@ -2186,8 +2265,8 @@ function ReservationCard(props) {
|
|
|
2186
2265
|
}
|
|
2187
2266
|
) })
|
|
2188
2267
|
] }),
|
|
2189
|
-
readonly ? null : /* @__PURE__ */ (0,
|
|
2190
|
-
/* @__PURE__ */ (0,
|
|
2268
|
+
readonly ? null : /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", gap: "3", justify: "end", children: [
|
|
2269
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2191
2270
|
Button,
|
|
2192
2271
|
{
|
|
2193
2272
|
color: "gray",
|
|
@@ -2197,12 +2276,12 @@ function ReservationCard(props) {
|
|
|
2197
2276
|
children: "\uCD08\uAE30\uD654\uD558\uAE30"
|
|
2198
2277
|
}
|
|
2199
2278
|
),
|
|
2200
|
-
/* @__PURE__ */ (0,
|
|
2279
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, { onClick: onClickSave, size: "small", children: "\uC800\uC7A5\uD558\uAE30" })
|
|
2201
2280
|
] })
|
|
2202
2281
|
] })
|
|
2203
2282
|
}
|
|
2204
2283
|
) }),
|
|
2205
|
-
readonly ? /* @__PURE__ */ (0,
|
|
2284
|
+
readonly ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_themes25.Inset, { clip: "border-box", side: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2206
2285
|
import_themes6.Box,
|
|
2207
2286
|
{
|
|
2208
2287
|
mt: "5",
|
|
@@ -2210,14 +2289,14 @@ function ReservationCard(props) {
|
|
|
2210
2289
|
py: "4",
|
|
2211
2290
|
style: { backgroundColor: "var(--accent-a3)" },
|
|
2212
2291
|
width: "100%",
|
|
2213
|
-
children: /* @__PURE__ */ (0,
|
|
2214
|
-
/* @__PURE__ */ (0,
|
|
2292
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_themes22.Flex, { align: "center", gap: "4", justify: "center", children: [
|
|
2293
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Typo, { children: [
|
|
2215
2294
|
sessionNumber || "-",
|
|
2216
2295
|
"\uD68C\uCC28 \uC138\uC158\uC744 \uC644\uB8CC\uD558\uC168\uB098\uC694?"
|
|
2217
2296
|
] }),
|
|
2218
|
-
/* @__PURE__ */ (0,
|
|
2297
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Button, { onClick: onClickCompleteSession, size: "small", children: [
|
|
2219
2298
|
"\uC138\uC158 \uC885\uB8CC\uD558\uAE30",
|
|
2220
|
-
/* @__PURE__ */ (0,
|
|
2299
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_icons3.ArrowRightIcon, {})
|
|
2221
2300
|
] })
|
|
2222
2301
|
] })
|
|
2223
2302
|
}
|
|
@@ -2229,14 +2308,14 @@ function ReservationCard(props) {
|
|
|
2229
2308
|
|
|
2230
2309
|
// src/app/platform/session-review-simple-read.tsx
|
|
2231
2310
|
var import_react35 = require("react");
|
|
2232
|
-
var
|
|
2311
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
2233
2312
|
function SubTitleWrapper({
|
|
2234
2313
|
children,
|
|
2235
2314
|
title
|
|
2236
2315
|
}) {
|
|
2237
|
-
return /* @__PURE__ */ (0,
|
|
2238
|
-
/* @__PURE__ */ (0,
|
|
2239
|
-
/* @__PURE__ */ (0,
|
|
2316
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { direction: "column", gap: "2", children: [
|
|
2317
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Heading2, { mb: "2", variant: "heading5", weight: "regular", children: title }),
|
|
2318
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes6.Box, { children })
|
|
2240
2319
|
] });
|
|
2241
2320
|
}
|
|
2242
2321
|
function SessionReviewSimpleRead({
|
|
@@ -2261,39 +2340,44 @@ function SessionReviewSimpleRead({
|
|
|
2261
2340
|
color: "error"
|
|
2262
2341
|
};
|
|
2263
2342
|
}, [helpfulness]);
|
|
2264
|
-
return /* @__PURE__ */ (0,
|
|
2265
|
-
/* @__PURE__ */ (0,
|
|
2266
|
-
/* @__PURE__ */ (0,
|
|
2343
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_themes6.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_themes22.Flex, { direction: "column", gap: "5", children: [
|
|
2344
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SubTitleWrapper, { title: "\uC774\uBC88 \uCF54\uCE6D\uC774 \uBAA9\uD45C \uB2EC\uC131\uC5D0 \uB3C4\uC6C0\uC774 \uB418\uC5C8\uB098\uC694?", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Badge, { color: helpfulnessMeta.color, children: helpfulnessMeta.text }) }),
|
|
2345
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SubTitleWrapper, { title: "\uC138\uC158 \uD6C4\uAE30", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Card, { children: review ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Typo, { as: "p", children: review }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Typo, { color: "gray", children: "\uC785\uB825\uB41C \uD6C4\uAE30\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) }) })
|
|
2267
2346
|
] }) });
|
|
2268
2347
|
}
|
|
2269
2348
|
|
|
2270
2349
|
// src/app/platform/userInfos/session-user-info-detail.tsx
|
|
2271
|
-
var
|
|
2350
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
2272
2351
|
function SectionWrapper({
|
|
2273
2352
|
title,
|
|
2274
2353
|
children
|
|
2275
2354
|
}) {
|
|
2276
|
-
return /* @__PURE__ */ (0,
|
|
2277
|
-
/* @__PURE__ */ (0,
|
|
2278
|
-
/* @__PURE__ */ (0,
|
|
2279
|
-
/* @__PURE__ */ (0,
|
|
2355
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes6.Box, { children: [
|
|
2356
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes23.Grid, { align: "center", columns: "auto 1fr", gap: "3", mb: "5", children: [
|
|
2357
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Heading2, { variant: "heading5", children: title }),
|
|
2358
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes39.Separator, { size: "4" })
|
|
2280
2359
|
] }),
|
|
2281
2360
|
children
|
|
2282
2361
|
] });
|
|
2283
2362
|
}
|
|
2284
2363
|
function SessionUserInfoDetail({
|
|
2285
2364
|
customer,
|
|
2286
|
-
session
|
|
2365
|
+
session,
|
|
2366
|
+
onClickCopy
|
|
2287
2367
|
}) {
|
|
2288
|
-
return /* @__PURE__ */ (0,
|
|
2289
|
-
/* @__PURE__ */ (0,
|
|
2290
|
-
|
|
2368
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_themes22.Flex, { direction: "column", gap: "6", children: [
|
|
2369
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SectionWrapper, { title: "\uC138\uC158 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes15.DataList.Root, { children: sessionList.map(
|
|
2370
|
+
(info) => renderDataListItem({ info, data: session, onClickCopy })
|
|
2371
|
+
) }) }),
|
|
2372
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SectionWrapper, { title: "\uD68C\uC6D0 \uC815\uBCF4", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_themes15.DataList.Root, { children: infoList.map(
|
|
2373
|
+
(info) => renderDataListItem({ info, data: customer, onClickCopy })
|
|
2374
|
+
) }) })
|
|
2291
2375
|
] });
|
|
2292
2376
|
}
|
|
2293
2377
|
|
|
2294
2378
|
// src/app/platform/report-card.tsx
|
|
2295
2379
|
var import_react36 = require("react");
|
|
2296
|
-
var
|
|
2380
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2297
2381
|
function ReportCard(props) {
|
|
2298
2382
|
const { title, file, status } = props;
|
|
2299
2383
|
const onClickDownload = (0, import_react36.useCallback)(() => {
|
|
@@ -2309,21 +2393,21 @@ function ReportCard(props) {
|
|
|
2309
2393
|
document.body.removeChild(link);
|
|
2310
2394
|
}, [file]);
|
|
2311
2395
|
if (status) {
|
|
2312
|
-
return /* @__PURE__ */ (0,
|
|
2313
|
-
/* @__PURE__ */ (0,
|
|
2396
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes22.Flex, { align: "center", justify: "between", children: [
|
|
2397
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
2314
2398
|
status
|
|
2315
2399
|
] }) });
|
|
2316
2400
|
}
|
|
2317
|
-
return /* @__PURE__ */ (0,
|
|
2401
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
2318
2402
|
import_themes22.Flex,
|
|
2319
2403
|
{
|
|
2320
2404
|
direction: { initial: "column", xs: "row" },
|
|
2321
2405
|
gapY: "2",
|
|
2322
2406
|
justify: "between",
|
|
2323
2407
|
children: [
|
|
2324
|
-
/* @__PURE__ */ (0,
|
|
2325
|
-
/* @__PURE__ */ (0,
|
|
2326
|
-
/* @__PURE__ */ (0,
|
|
2408
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Heading2, { variant: "heading4", children: title }),
|
|
2409
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Button, { onClick: onClickDownload, variant: "surface", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_themes22.Flex, { gap: "2", width: "100%", children: [
|
|
2410
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react_icons3.DownloadIcon, {}),
|
|
2327
2411
|
file == null ? void 0 : file.buttonName
|
|
2328
2412
|
] }) }, file == null ? void 0 : file.url)
|
|
2329
2413
|
]
|